gcc build

M R Swami Reddy MR.Swami.Reddy@nsc.com
Mon Mar 30 10:32:00 GMT 2009


>> 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



More information about the Gcc-help mailing list