This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Building cross from Mac OS X to MinGW fails
- From: "Timothy J. Wood" <tjw at omnigroup dot com>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 10 Mar 2002 17:04:41 -0800
- Subject: 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