From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4825 invoked by alias); 30 Mar 2009 10:28:10 -0000 Received: (qmail 4815 invoked by uid 22791); 30 Mar 2009 10:28:09 -0000 X-SWARE-Spam-Status: No, hits=2.3 required=5.0 tests=AWL,BAYES_00,BELOVED_BODY,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from yw-out-1718.google.com (HELO yw-out-1718.google.com) (74.125.46.156) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 30 Mar 2009 10:28:04 +0000 Received: by yw-out-1718.google.com with SMTP id 4so1172444ywq.26 for ; Mon, 30 Mar 2009 03:28:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.30.198 with SMTP id v6mr1036203ibc.26.1238408882357; Mon, 30 Mar 2009 03:28:02 -0700 (PDT) In-Reply-To: <49D09A49.1080600@nsc.com> References: <49D09A49.1080600@nsc.com> Date: Mon, 30 Mar 2009 10:28:00 -0000 Message-ID: <56e4071a0903300328q67b6b724x864f2da014d5a886@mail.gmail.com> Subject: Re: gcc build From: Jason Pernito To: M R Swami Reddy Cc: "gcc-help@gcc.gnu.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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/msg00386.txt.bz2 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 -- "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