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

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
FlashBurn
Member
Member
Posts: 313
Joined: Fri Oct 20, 2006 10:14 am

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

Post 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.
Post Reply