public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Error while building GCC 4.5 (MinGW)
@ 2010-04-08 14:32 Name lastlong
  2010-04-09 18:59 ` Jim Wilson
  0 siblings, 1 reply; 5+ messages in thread
From: Name lastlong @ 2010-04-08 14:32 UTC (permalink / raw)
  To: gcc

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


      

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-04-12 18:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-08 14:32 Error while building GCC 4.5 (MinGW) Name lastlong
2010-04-09 18:59 ` Jim Wilson
2010-04-12 15:46   ` Name lastlong
2010-04-12 17:44     ` Jim Wilson
2010-04-12 19:12     ` Dave Korn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).