Page 1 of 1

[solved]Problems building cross-gcc (worked before)

Posted: Fri Apr 16, 2010 4:35 am
by FlashBurn
I just wanted to build a new cross-gcc (4.5.0) and I can´t get this far, because I can´t compile mpfr.

I compile gmp as always "./configure" and then "make all install" (I also ran the check). Then I want to compile mpfr "./configure" and I get this error:

Code: Select all

checking for __gmpz_init in -lgmp... no
configure: error: libgmp not found or uses a different ABI.
Please read the INSTALL file -- see "In case of problem".
I´m using the newest cygwin (did an update just before trying to compile) and I use gcc 4.3.4 for compiling all things.

So what could be the problem that he now has problems, but it worked the last time (21 Jan 2010) I tried it?! And what I don´t get is, he finds the gmp library, but then I get such an error!?

edit::

I solved it by passing the arg "--with-gmp=/usr/local" to the configure script.