Hello! I would like to compile latest gcc 4.5.0 from source on mingw32. I download all prerequisites (gcc-core, gcc-g++, cloog-ppl, gmp, mpc, mpfr, ppl) and extract to predefined folders. I configure with this parameters: ../source/gcc-4.5.0/configure \ --prefix=/mingw \ --disable-werror \ --disable-nls \ --disable-win32-registry \ --enable-shared \ --enable-languages=c,c++ \ --enable-cxx \ --with-pkgversion='ART' When I compile it gives the following error: checking how to link with libgmp... -lgmp checking how to link with libgmpxx... -lgmpxx -lgmp checking for the GMP library version 4.1.3 or above... no configure: error: Cannot find GMP version 4.1.3 or higher. GMP is the GNU Multi-Precision library: see http://www.swox.com/gmp/ for more information. When compiling the GMP library, do not forget to enable the C++ interface: add --enable-cxx to the configuration options. make[2]: *** [configure-stage1-ppl] Error 1 make[2]: Leaving directory `/d/user/_src/gcc-work/build' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/d/user/_src/gcc-work/build' make: *** [all] Error 2 Sooner at mpfr configure I got the following in the log: checking for recent GMP... yes checking for gmp internal files... no checking for working alloca.h... no checking for alloca... yes checking for __gmpz_init in -lgmp... yes checking if gmp.h version and libgmp version are the same... (5.0.1/5.0.1) yes checking if gmp_printf supports "%jd"... no checking if gmp_printf supports "%hhd"... yes checking if gmp_printf supports "%lld"... no checking if gmp_printf supports "%Lf"... no checking if gmp_printf supports "%td"... no So gmp has been found by mpfr and I gave that --enable-cxx for configure. I am using TDM GCC + MSYS under Windows XP. gcc -v gives: $ gcc -v Using built-in specs. Target: mingw32 Configured with: ../../gcc-4.4.1/configure --prefix=/mingw --build=mingw32 --ena ble-languages=c,ada,c++,fortran,objc,obj-c++ --disable-nls --disable-win32-regis try --enable-libgomp --enable-cxx-flags='-fno-function-sections -fno-data-sectio ns' --disable-werror --enable-threads --disable-symvers --enable-version-specifi c-runtime-libs --enable-fully-dynamic-string --with-pkgversion='TDM-2 mingw32' - -enable-sjlj-exceptions --with-bugurl=http://www.tdragon.net/recentgcc/bugs.php Thread model: win32 gcc version 4.4.1 (TDM-2 mingw32) Where is the problem? Why I got that error? How compile latest gcc under Windows XP? Bye, a