This is the mail archive of the gcc@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]

Building cross from Mac OS X to MinGW fails




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




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