Firebird News

Monday, March 28, 2011

Building haikuos on ubuntu or debian

I'm following this guide on ubuntu natty and debian sid

checkout haiku source code
checkot build tools and install jam
svn checkout http://svn.haiku-os.org/haiku/buildtools/trunk haiku/buildtools
cd haiku/buildtools/jam 
make 
sudo ./jam0 install 
checkout haiku
svn checkout http://svn.haiku-os.org/haiku/haiku/trunk haiku/haiku
i'm interested only in gcc4 builds
so this is the 32 bit version
./configure --build-cross-tools-gcc4 x86 ../buildtools/
jam haiku-image
qemu generated/haiku.image
and if you like the 64bit version

./configure  --build-cross-tools-gcc4 x86-64 ../buildtools/
jam haiku-image
qemu generated/haiku.image

2 comments:

Jorge G. Mare said...

If you want to build a GCC2-GCC4 hybrid, then you can follow this step by step procedure:

http://www.haikuzone.net/tips/installation/creating-bleeding-edge-gcc24-hybrid-haiku-cd-ubuntu-9.10

Although this tutorial was written for Ubuntu 9.10, it works the same for later versions.

mariuz said...

I never build hybrid because i always build my stuff for gcc4 (qt,arora)

In my opinion hybrid should die and all to be migrated to gcc4/llvm setup
Also 64 bit version is required if you want a modern OS