How to compile mingw 3.4.5

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

How to compile mingw 3.4.5

I'm trying to compile mingw 3.4.5 manually because I want to test a
larger stack size. The reason is that large C files do not always
compile. See tracker #1717936 for details.

The build script contains:

export PATH=/mingw/bin:$PATH
export GCC_EXEC_PREFIX=/mingw/lib/gcc/

../gcc-3.4.5-20060117-2/configure --with-gcc --with-gnu-ld --with-gnu-as \
--host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads \
--disable-nls --enable-languages=c \
--disable-win32-registry --disable-shared --enable-sjlj-exceptions \
--without-x \
--enable-interpreter --enable-hash-synchronization \

make BOOT_CFLAGS="-O2 -fomit-frame-pointer -D__USE_MINGW_ACCESS" \
BOOT_CXXFLAGS="-mthreads -fno-omit-frame-pointer -O2" \
LDFLAGS="-s -Wl,--stack=0x800000" \

make -C gcc CFLAGS=-O2 LDFLAGS=-s gnatlib_and_tools

End of output:
(MAKE="make"; srcdir=`cd ./fixinc && ${PWDCMD-pwd}` ; \
CC="gcc"; CFLAGS=" -g0 -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
-Wl,--stack=0x800000"; \
WARN_CFLAGS="-W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Wno-error";
LIBERTY=`${PWDCMD-pwd}`/"../libiberty/libiberty.a"; \
cd ./fixinc && \
/bin/sh ${srcdir}/ i386-pc-mingw32 i386-pc-mingw32)
constructing ../ for i386-pc-mingw32 to run on i386-pc-mingw32
The directory that should contain system headers does not exist:
make[2]: *** [stmp-fixinc] Error 1
make[2]: Leaving directory `/gcc-work/gcc-3.4.5-20060117-2/gcc'

What could be wrong? Is there a how-to for building mingw 3.4.5?

Also, does someone have access to or a
backup copy?


Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-
MinGW-users mailing list
[hidden email]

You may change your MinGW Account Options or unsubscribe at:

This list observes the Etiquette found at
We ask that you be polite and do the same.

Most annoying abuses are:
1) Top posting
2) HTML/MIME encoded mail
3) Improper quoting
4) Improper trimming