From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25253 invoked by alias); 24 Mar 2009 17:47:19 -0000 Received: (qmail 25225 invoked by uid 48); 24 Mar 2009 17:47:07 -0000 Date: Tue, 24 Mar 2009 17:47:00 -0000 Message-ID: <20090324174707.25224.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug bootstrap/36481] gcc fails to build on Solaris x86 - it forgets the locations of libmpfr In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rwild at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-03/txt/msg01725.txt.bz2 ------- Comment #8 from rwild at gcc dot gnu dot org 2009-03-24 17:47 ------- Hello David, (In reply to comment #0) > I'm trying to compile gcc 4.3.1 on a Laptop running Solaris Express Community > Edition Build 89. [...] > A search on the web for the "configure: error: cannot compute suffix of object > files: cannot compile" suggests setting LD_LIBRARY_PATH, as above. That does > not work. I've also tried > > set LD_LIBRARY_PATH=/usr/local/lib > export LD_LIBRARY_PATH > > but that does not work either. Is that exactly what you tried? Because that doesn't do the right thing. Instead, use LD_LIBRARY_PATH=/usr/local/lib export LD_LIBRARY_PATH with a Bourne-like shell, or setenv LD_LIBRARY_PATH /usr/local/lib with a csh-like shell. > Also tried LDFLAGS='-L/usr/local/lib -R/usr/local/lib' > but again did not help. This might work in the SVN trunk version of GCC (haven't checked though). -- rwild at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rwild at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36481