Sikosis's BeOS/Haiku Developer Blog

Build Haiku

10th December, 2013 09:11 AM by Sikosis

Here you will find the steps to build your own Haiku using Linux - Mint Linux in this case.

  1. Install Prerequisites

    You'll need at least a Git and SSH client. There's some other packages you'll need which you can install with this command line:-

    sudo apt-get install git yasm autoconf automake texinfo flex bison gawk build-essential unzip curl zip less zlib1g-dev libcurl4-openssl-dev

    For more information, please navigate to here.

  2. Download the Source

    First, setup a place to store the files.

    mkdir haiku
    cd haiku

    Configure Git
    git config --global user.name "John Doe"
    git config --global user.email "john.doe@developers.com"

    Build Tools
    git clone https://git.haiku-os.org/buildtools

    Haiku
    git clone https://git.haiku-os.org/haiku

    Update the sources
    git pull --rebase

  3. Configure

    cd haiku

    Building GCC 2.95 binutils
    ./configure --build-cross-tools x86_gcc2 ../buildtools/

    Building GCC 4.x binutils
    /configure --build-cross-tools x86 ../buildtools/

  4. Compile

    jam -q -j2 @image

    NB: Change -jX to be the number of cores in your build machine.



Happy Haiku-ing !
blog comments powered by Disqus