Announce: MPFR 2.2.1 is released

Vincent Lefevre vincent+gcc@vinc17.org
Sun Dec 3 00:51:00 GMT 2006


On 2006-12-02 10:16:31 -0800, Bruce Korb wrote:
> Requiring this is a bit of a nuisance. mpfr requires gmp so I had to
> go pull and build that only to find:
> 
> checking if gmp.h version and libgmp version are the same...
> (4.2.1/4.1.4) no

Note that this test was really buggy in MPFR 2.2.0. I fixed it in
MPFR 2.2.1, but this is still a warning, since I'm not sure that
it will work with any compiler on Earth.

> which is a problem because I cannot have /usr/local/lib found before
> /usr/lib for some things, yet for mpfr I have to find gmp in
> /usr/local/lib first. The normal way for this to work is for mpfr to
> use gmp-config to find out where to find headers and libraries.

GMP doesn't provide a gmp-config (in its official archive). But if
you want to use /usr/lib before /usr/local/lib for some libraries,
and /usr/local/lib before /usr/lib for GMP, I don't know how to tell
the compiler/linker to do that (in a portable way). So, a gmp-config
would probably be useless.

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



More information about the Gcc-patches mailing list