This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Mac OS X cross-compiler not finding system include files?


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]