[Bug bootstrap/36481] gcc fails to build on Solaris x86 - it forgets the locations of libmpfr
rwild at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Mar 24 17:47:00 GMT 2009
------- 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
More information about the Gcc-bugs
mailing list