Hi,
Thanks for reply.
Its working..
=====
ldd cc1
libmpfr.so.1 =>
/scratch/kafi/downloads/mpfr/mpfr-2.3.1/rel/lib/libmpfr.so.1 (0x008f1000)
libgmp.so.3 =>
/scratch/kafi/downloads/gmp/gmp-4.2.3/rel/lib/libgmp.so.3 (0x00fc9000)
libc.so.6 => /lib/tls/libc.so.6 (0x0051c000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00291000)
====
Thanks
Swami
Jason Pernito wrote:
On Mon, Mar 30, 2009 at 6:09 PM, M R Swami Reddy <MR.Swami.Reddy@xxxxxxx> wrote:
Hello,
I am building the gcc tools for crx-elf target. During the 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.
HTH,
-jason