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 -- "Regard your soldiers as your children, and they will follow you into the deepest valleys. Look on them as your beloved sons, and they will stand by you even unto death!" - Sun Tzu, the art of war