Hi,
I am trying to build a toolchain for gcc-4.5-20100401 snapshot.
The linux toolchain was built successfully as expected.
However, on building the mingw toolchain, it generated the following error
while configuring gcc:-
=============================error================================
checking for the correct version of the gmp/mpfr/mpc libraries... no
configure: error: Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
============================ error================================
The following commands were used to build the precision libraries.
./gmp-4.2.2/configure --host=mingw32 --target=mingw32
--build=i686-pc-linux-gnu --prefix=$prefix
./mpfr-2.3.1configure --host=mingw32 --target=mingw32
--build=i686-pc-linux-gnu --with-gmp=$prefix --prefix=$prefix
./mpc-0.8/configure
--host=mingw32 --target=mingw32 --build=i686-pc-linux-gnu --with-gmp=$prefix
--with-mpfr=$prefix --prefix=$prefix
The LD_LIBRARY PATH was also exported to $PREFIX PATH.
However, the error was not resolved. This error is due to the addition of MPC
library dependency.
Please let me know whether its a known problem OR I am missing anything while
building the libraries?
Regards,
Brew