This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc build
- From: Jason Pernito <jpernito at gmail dot com>
- To: M R Swami Reddy <MR dot Swami dot Reddy at nsc dot com>
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Mon, 30 Mar 2009 18:28:02 +0800
- Subject: Re: gcc build
- References: <49D09A49.1080600@nsc.com>
On Mon, Mar 30, 2009 at 6:09 PM, M R Swami Reddy <MR.Swami.Reddy@nsc.com> 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