Building cross from Mac OS X to MinGW fails

Timothy J. Wood tjw@omnigroup.com
Sun Mar 10 17:04:00 GMT 2002



export TARGET=i386-mingw32msvc
../gcc/configure -v --prefix=$PREFIX --target=$TARGET \
   --with-gnu-as --with-gnu-ld \
   --enable-threads \
   --enable-shared --disable-static \
   --enable-languages="objc" |& tee configure.log

   This generates a Makefile that has:

STAGE1_CFLAGS = -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0

   but when I build with:

make |& tee make.log

   the STAGE1_CFLAGS are not used.  If I manually specify the CFLAGS with:

make CC="cc -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0" |& tee 
make.log

   then I get past these failures.

-tim





More information about the Gcc mailing list