This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc build


build-trunk/crx-elf/libgcc/config.log:
...
./gcc/cc1: error while loading shared libraries: libmpfr.so.1: cannot open
shared object file: No such file or directory.
...
===
Set the LD_LIBRARY_PATH for LD_LIBRARY_PATH for libmpfr.so.1 and libgmp.so.1
as follows:
===
echo $LD_LIBRARY_PATH
/scratch/kafi/downloads/mpfr/mpfr-2.3.1/rel/lib:/scratch/kafi/downloads/gmp/gmp-4.2.3/rel/lib
==

Please let me know, if any more setting required.

gcc version with gcc trunk sources:
===
gcc version 4.5.0 20090330 (experimental) (GCC)
==


Were you able to successfully build both gmp and mpfr? Take note that
if you are building them separately (not built within the gcc source
tree that you have), you have to build gmp first before the mpfr.

I built both gcc 4.4.0 20090313 version of gcc (sources from trunk) with above libraries.
And today, I just updated the sources (using 'svn up') and tried to build,
but failed with above error.


Thanks
Swami


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]