gcc 4.6.1 compile fails in linking stage - libgmp.so in wrong format

Marc Glisse marc.glisse@inria.fr
Wed Oct 26 15:58:00 GMT 2011


On Wed, 26 Oct 2011, steve kirby wrote:

> I put the src trees of gmp, mpfr, and mpc under the gcc tree, linked "gmp", "mpfr", "mpc" directories to each of these src trees. Then called configure, in a separate tree, as recommended.
>
> But I'm getting:
>
> checking for recent MPFR... no
> configure: error: MPFR version >= 2.3.1 required
>
> The MPFR version in the GCC tree is 3.1.0.
>
> What do you recommend I do?

Take an older mpfr version (like the contrib script does). Newer mpfr 
versions hide their configure script in src, and gcc hasn't been updated 
for that yet (or at least it hadn't been for 4.6.1).

-- 
Marc Glisse



More information about the Gcc-help mailing list