[haiku] Re: Proceedure to build from Linux?

  • From: "Thomas Mueller" <mueller6723@xxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Sun, 23 Aug 2015 06:49:57 +0000

from G. Thomas Stover:

This is what I've done so far:

1) git clone buildtools and haiku repositories
2) built tool chain via instructions in INSTALL-as-haiku-cross-compiler-
on-LINUX
3) build was successful, but does not yet build C or C++ hello world.
Evidently reasons are:
a) No default include paths (shown with i586-pc-haiku-gcc -v)
b) haiku libc / libcxx not yet built

4) built jam, and installed for local user

5) now what? I went back into ./haiku and ran jam
a) jam does not show what command is actually happening during the
building of object files, so I'm not sure if it is using the host
system's tool chain or the i586-pc-haiku-*
b) eventually fails

It was mentioned in an other thread that nightly builds build tool chain
and source tree from Linux, so this should be reasonably likely to work
somehow. Is the script that drives this visible somewhere? Most likely
man jam command needs some parameters.

Also related to the other thread, the qemu image works acceptably fast on
full system emulation (not kvm) even on 7+ year old hardware. This
usefulness is self evident.

Did you build jam from Linux repository source, or from Haiku buildtools?

I built the toolchain from FreeBSD-current amd64 successfuly, using gcc-aux
built from ports, bootstrap, but on

jam -q @bootstrap-raw

got, toward the end:

...failed Link
/home/nbarlene/haiku/haiku/fb64generated-bootstrap/freebsd/x86_64/release/tools/package/package
...

BUILD FAILURE:
...failed updating 1 target(s)...
...skipped 3 target(s)...
...updated 418 target(s)...

Log file was 1186948 bytes.

With toolchain built from FreeBSD clang, I got about the same error, but much
more quickly:

...failed Link
/home/nbarlene/haiku/haiku/fb64generated-bootstrap/freebsd/x86_64/release/tools/package/package
...

BUILD FAILURE:
...failed updating 1 target(s)...
...skipped 3 target(s)...
...updated 11 target(s)...

Log file was 5074 bytes.

Do you get anything like this?

I intend to try again, after git pull (update), but without bootstrap, to see
if that makes any difference.

In any case, I intend to go on to building Linux toolchains, not only to
cross-compile Haiku but, even more important, get a good Linux system.

Tom


Other related posts: