[haiku] Re: Are these Haiku build instructions correct?

  • From: "Thomas Mueller" <mueller6723@xxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Sat, 01 Aug 2015 07:30:04 +0000

To build Haiku, type the following:

cd haiku/haiku
./configure

This will configure gcc2-only build (or gcc4-only -- depending on your primary
architecture), which may or may not be what you want.

If you want to create a CD image of Haiku, in the /Generated folder, type:

jam -q haiku-cd

If you want to create an Anyboot image of Haiku, in the /Generated folder,
change the above command to:

jam -q haiku-anyboot-image

If you want to create a Raw image of Haiku, in the /Generated folder,
change the above command to:

jam -q haiku-image

These targets probably work, but off the top of my head I couldn't say what
exactly they build. I recommend using the build profiles that are more
specific:

jam -q @release-cd
jam -q @release-anyboot
jam -q @release-raw

jam -q @nightly-cd
jam -q @nightly-anyboot
jam -q @nightly-raw

jam -q @minimum-cd
jam -q @minimum-anyboot
jam -q @minimum-raw

... depending on what you want to build.

CU, Ingo

I've been confused as to which image to try to build.

This gives me a better idea, but I am still somewhat confused.

I looked in the DefaultBuildProfiles, noticed further that there are separate
profiles for a bootstrap build.

I am getting ready for a cross-build from NetBSD-current (7.99.15) i386 and/or
amd64 (gcc-aux), also FreeBSD-current amd64 (gcc-aux and llvm/clang).

gcc-aux is a BSD port/package of gcc compiler that includes Ada.

In the case of NetBSD, I have to modify both the configure script and
BuildSetup while preserving the original file; I think these modifications
would not be necessary with FreeBSD.

One thing has me confused, on building BFS FUSE:

cd /path/haiku/haiku/
jam \<build\>bfs_fuse

I assume I type the actual path instead of "/path" in the first line, but is
the second line to be typed verbatim?

Tom


Other related posts: