On Sat, 10 Jun 2000, Ossama Othman wrote:

> Hi,
> 
> I finally got around to digging into the libtool code to figure out
> why the static libstdc++.a was't being dropped when linking on Solaris
> using g++.  It turns out that the culprit is the
> "deplibs_check_method" setting used by libtool on Solaris.  It is
> currently set to "pass_all," which is why the static lib never gets
> dropped during the ILD analysis loop.  Does Solaris actually support
> linking shared libs against static ones?  If not, then it may be a
> better idea to use the "file_magic" deplibs check method.  Thoughts?

Well since the ML branch was giving me soooo many problems I switched to
the HEAD brach for the time being becuase I wan't to get a release out
this weekend.

What I discoved is the the linker that the HEAD branch uses on solaris
EXCEPTS static libraries into the shared library.  Also I siscoved that
excpetions won't work unless g++ is used to due the linking so I 
set LD=g++ and everything works fine.  Once again it links the static
library into the shared one....

Also when I try setting LD to g++ on linux it fails wisrably....

It there a way to forse the so called "file_magic" method to avoid
putting static libraries into shared one wven if the linker will accept
it?

--- 
Kevin Atkinson
[EMAIL PROTECTED]
http://metalab.unc.edu/kevina/

Reply via email to