This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-help Digest 17 Jul 2007 16:12:44 -0000 Issue 2448
- From: NightStrike <nightstrike at gmail dot com>
- To: saurabh dot verma at codito dot com
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 19 Jul 2007 05:18:46 -0400
- Subject: Re: gcc-help Digest 17 Jul 2007 16:12:44 -0000 Issue 2448
- References: <1184688764.23363.ezmlm@gcc.gnu.org> <1184746119.10937.1.camel@localhost.localdomain>
Original message:
Was there any change recently that may have affected the handling of
--with-mpfr? I have my own version of mpfr installed under
~/opt/mpfr, which I pass to --with-mpfr as always (I do the same with
gmp under ~/opt/gmp). I always do this, but now, it seems that I
can't use the shared libraries:
/tmp/myroot/build/gcc/build64/./gcc/xgcc: error while loading shared
libraries: libmpfr.so.1: cannot open shared object file: No such file
or directory
The file is definitely in ~/opt/mpfr/lib, but that's not being passed
on to xgcc.
On 7/18/07, Saurabh Verma <saurabh.verma@codito.com> wrote:
Are you sure, you have ~/opt/mpft/lib in your LD_LIBRARY_PATH
No, it's not. But it never was before. --with-mpfr should specify
the root, and set --with-mpfr-lib and --with-mpfr-include accordingly.
If it didn't, then that makes --with-mpfr-lib pretty useless... From
./configure --help:
--with-mpfr=PATH specify prefix directory for installed MPFR package.
Equivalent to --with-mpfr-include=PATH/include
plus --with-mpfr-lib=PATH/lib