[haiku] building cross tools

Hi list. I'm interested in experimenting with porting some code to
Haiku via cross compilation from Linux. Using the notes on the web
site, I have attempted and failed to build both the gcc2 and gcc4 x86
options. Do prebuilt tool chains exist? What build platform specifically
do you use to make it work? This is ubuntu 11.10 x86_64.

For the gcc2, it fails with

...
checking if mkdir takes one argument... no
Configuration x86_64-unknown-linux-gnu not supported
Configure
in /home/thomas/haiku/haiku/generated.x86gcc2/cross-tools-build/gcc/gcc
failed, exiting.

For the gcc4, it fails with

...
config.status: creating po/Makefile.in
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing bfd_stdint.h commands
config.status: executing default commands
make[3]: Leaving directory
`/home/thomas/haiku/haiku/generated.x86gcc4/cross-tools-build/binutils/bfd/po'
make[3]: Entering directory
`/home/thomas/haiku/haiku/generated.x86gcc4/cross-tools-build/binutils/bfd/po'
make[3]: Nothing to be done for `info'. make[3]: Leaving directory
`/home/thomas/haiku/haiku/generated.x86gcc4/cross-tools-build/binutils/bfd/po'
make[3]: Entering directory
`/home/thomas/haiku/haiku/generated.x86gcc4/cross-tools-build/binutils/bfd'
make[3]: Nothing to be done for `info-am'. make[3]: Leaving directory
`/home/thomas/haiku/haiku/generated.x86gcc4/cross-tools-build/binutils/bfd'
make[2]: *** [info-recursive] Error 1 make[2]: Leaving directory
`/home/thomas/haiku/haiku/generated.x86gcc4/cross-tools-build/binutils/bfd'
make[1]: *** [all-bfd] Error 2 make[1]: Leaving directory
`/home/thomas/haiku/haiku/generated.x86gcc4/cross-tools-build/binutils'
make: *** [all] Error 2


-- 
www.thomasstover.com

Other related posts: