Mac OS X cross-compiler not finding system include files?
Maróy Ákos
akos@maroy.hu
Thu Jul 9 07:48:00 GMT 2009
Andrew,
> Please tell us how you configured the compiler.
I'm following this guide:
http://devs.openttd.org/~truebrain/compile-farm/apple-darwin9.txt
I used this command to configure the compiler:
TARGET=i686-apple-darwin9
CFLAGS="-m32" LDFLAGS="-m32" ../gcc-5493/configure --prefix=/opt/$TARGET
--disable-checking --enable-languages=c,objc,c++,obj-c++
--with-as=/opt/$TARGET/bin/${TARGET}-as
--with-ld=/opt/$TARGET/bin/${TARGET}-ld --target=$TARGET
--with-sysroot=/foo/bar --enable-static --enable-shared --disable-nls
--disable-multilib
Akos
More information about the Gcc-help
mailing list