Alexandre Oliva wrote:
> 
> On Feb 15, 2000, Martin Proulx <[EMAIL PROTECTED]> wrote:
> 
> > This choice prevents me from compiling correctly with libtool on
> > solaris.
> 
> > I have to build a c++ shared library that uses exception.
> 
> Libtool doesn't support C++.  This is just one of the problems you're
> supposed to encounter.
> 

I know the support isn't finished, but libtool does work fine with c++
on my linux box, and it might be partly because on that platform, the
compiler is used to link.

I believe that if libtool would use g++ to link c++ objects, its would
have a lot more chances of working correctly than by directly using the
native linkers.

My point was simply that maybe if the GNU compilers on solaris are now
able to do things correctly, that maybe libtool should trust the
compiler and use it instead of directly using the native compiler
because as I have said, using g++ to link c++ shared libs works
correctly.

Using only gcc (as libtool does) to link c++ libraries also works, but
requires the additional linking with libstdc++.

> C++ support is under development in the multi-language-branch of the
> libtool CVS tree.  Feel free to give it a try, and please report any
> problems you find.
>

Ok, I'll give it a try.

Thanks!

Martin

-- 
______________________________________________________________________________
Okiok Data ltd.        |  Sp�cialiste des solutions de s�curit�
d'entreprise
Tel. : (450) 681.1681  |
http://www.okiok.com   |  Specializing in enterprise security solutions

Reply via email to