From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30730 invoked by alias); 30 Mar 2009 10:37:18 -0000 Received: (qmail 30722 invoked by uid 22791); 30 Mar 2009 10:37:17 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail4.nsc.com (HELO sc-mailgw02.nsc.com) (12.151.32.19) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 30 Mar 2009 10:37:13 +0000 X-M-MSG: Received: from SCNTRDCSS8.nsc.com (scntrdcss8.nsc.com [10.188.130.179]) by sc-mailgw02.nsc.com (Tumbleweed MailGate 3.6.1) with ESMTP id 241BD1B30421 for ; Mon, 30 Mar 2009 03:37:04 -0700 (PDT) Received: from [10.188.132.130] by SCNTRDCSS6.nsc.com with ESMTP (-Hi-); Mon, 30 Mar 2009 03:37:02 -0700 X-Server-Uuid: CDE0D3F6-4EC6-4DC9-81EF-DBBF12AF9A3C Received: from [139.187.78.154] by scmh1.nsc.com with ESMTP; Mon, 30 Mar 2009 03:37:02 -0700 Message-ID: <49D0A0C8.20507@nsc.com> Date: Mon, 30 Mar 2009 10:37:00 -0000 From: "M R Swami Reddy" User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: "Jason Pernito" cc: "gcc-help@gcc.gnu.org" Subject: Re: gcc build References: <49D09A49.1080600@nsc.com> <56e4071a0903300328q67b6b724x864f2da014d5a886@mail.gmail.com> In-Reply-To: <56e4071a0903300328q67b6b724x864f2da014d5a886@mail.gmail.com> Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2009-03/txt/msg00388.txt.bz2 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 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