[haiku] Re: Cross-building buildtools and Haiku from BSD: some questions getting started

  • From: "Thomas Mueller" <mueller6723@xxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Mon, 14 Jul 2014 00:06:55 +0000

In my case, I want to keep builds separate because of the possibility of 
building in three ways: NetBSD with gcc-4.8.3, FreeBSD with llvm/clang 3.4.1 or 
FreeBSD with gcc47.

I am now in NetBSD console, X refuses to start, apparently managed to build 
jam, got two jams:
haiku/buildtools/lam/jam0  and
haiku/buildtools/jam/bin.netbsdx86/jam

and wonder which to use, would want to rename jam0 to nbjam0 to distinguish it 
from something I might build with FreeBSD.

Maybe I need to rename jambase.c as well, to nbjambase.c ?

Building jam failed with make:

make: "/home/arlene1164/haiku/buildtools/jam/Makefile" line 55: Missing 
dependency operator
make: "/home/arlene1164/haiku/buildtools/jam/Makefile" line 59: Need an operator
make: Fatal errors encountered -- cannot continue
make: stopped in /home/arlene1164/haiku/buildtools/jam

but succeeded with gmake, producing (listing only new files):

-rw-r--r--  1 root  wheel     278 Jul 13 23:19 buildn.log
-rwxr-xr-x  1 root  wheel  104277 Jul 13 23:19 jam0
-rw-r--r--  1 dbus  wheel   31042 Jul 13 23:19 jambase.c
drwxr-xr-x  2 root  wheel     512 Jul 13 23:19 bin.netbsdx86
-rw-r--r--  1 root  wheel    2172 Jul 13 23:19 buildng.log

bin.netbsdx86 subdirectory contained

-rwx--x--x  1 root  wheel  113962 Jul 13 23:19 jam
-rw-r--r--  1 root  wheel    8416 Jul 13 23:19 jam.o
-rw-r--r--  1 root  wheel   64232 Jul 13 23:19 jambase.o
-rw-r--r--  1 root  wheel  159572 Jul 13 23:19 libjam.a
-rwx--x--x  1 root  wheel    9921 Jul 13 23:19 mkjambase
-rw-r--r--  1 root  wheel    3584 Jul 13 23:19 mkjambase.o

I still need to fix the permissions/ownership to user arlene1164 or arlene, 
group TC1.

I noticed your header line

User-Agent: Beam 1.2alpha

am curious what this mail user agent is.

Tom


Other related posts: