libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtool/ltmain linking wrong stdc++


From: Taj Morton
Subject: Re: libtool/ltmain linking wrong stdc++
Date: Mon, 9 Oct 2006 22:22:37 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Albert Chin <libtool <at> mlists.thewrittenword.com> writes:
> 
> On Mon, Oct 09, 2006 at 03:07:45PM +0000, Taj Morton wrote:
> > When compiling /opt/gcc-3.3/bin/gcc-g++-3.3, I get link errors
> > because libstdc++.so is resolved to /usr/lib/libstdc++.so (the
> > system lib), instead of the compilers lib in /opt/gcc-3.3/lib. When
> > I delete the /usr/lib/libstdc++.so symlink, I get the error "Could
> > not find /usr/lib/libstdc++.so" when linking.
> 
> What if you set LDFLAGS="-L/opt/gcc-3.3/lib"?
No go, it still links against /usr/lib/libstdc++.so.

Cheers,,
Taj








reply via email to

[Prev in Thread] Current Thread [Next in Thread]