CFLAGS="-pipe -O2 -mms-bitfields -march=i686"
SourceForge.net Repository - [mingw-w64] View of /trunk/mingw-w64-doc/howto-build/mingw-w64-howto-build.txt
binutils 2.19
mkdir build-32
cd build-32
../configure --target=i686-pc-mingw32 --prefix=/mingw32 --with-sysroot=/mingw32 --disable-nls --disable-shared
csmake -j 2
csmake install
GMP 4.2.4 (
Nabble - MinGW - User - help to compile gmp-4.2.2 fixes the Makefile)
mkdir build-32
cd build-32
ABI=32 ../configure --prefix=/mingw --disable-shared
csmake -j 2
csmake check #all tests passed
csmake install
mpfr 2.4.1
mkdir build-32
cd build-32
../configure --prefix=/mingw --disable-shared
csmake -j 2
csmake install
gcc 4.4 SVN branch (checked out Apr 4, 2009)
mkdir build-32
cd build-32
../configure --enable-languages=c,c++ --target=i686-pc-mingw32 --prefix=/mingw32 --with-sysroot=/mingw32 --disable-shared --disable-nls
csmake -j 2 all-gcc
csmake install-gcc
mingw-w64-crt
export PATH=$PATH:/mingw32/bin
mkdir build-32
cd build-32
../configure --host=i686-pc-mingw32 --enable-lib32 --disable-lib64 --prefix=/mingw32 --with-sysroot=/mingw32
csmake -j 2
csmake install
rest of GCC
rm -rf /mingw32/mingw
cp -r /mingw32/i686-pc-mingw32 /mingw32/mingw
cd build-32
csmake -j 2
csmake install