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

HgFes
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 \
--enable-libstdcxx-debug

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

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
-Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE"; LDFLAGS="-s
-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"; \
export MAKE srcdir CC CFLAGS LDFLAGS WARN_CFLAGS LIBERTY; \
cd ./fixinc && \
/bin/sh ${srcdir}/mkfixinc.sh i386-pc-mingw32 i386-pc-mingw32)
constructing ../fixinc.sh for i386-pc-mingw32 to run on i386-pc-mingw32
The directory that should contain system headers does not exist:
/usr/include
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
mingw.org/MinGWiki/index.php/How%20to%20Compile%20GCC%204.1 or a
backup copy?

Thanks

------------------------------------------------------------------------------
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-http://p.sf.net/sfu/adobe-com
_______________________________________________
MinGW-users mailing list
[hidden email]

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

_______________________________________________
This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
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