Re: Making libtool use c++ to link c++ shared libraries.

2000-03-29 Thread Alexandre Oliva
On Mar 29, 2000, "Lars J. Aas" <[EMAIL PROTECTED]> wrote: > This can possibly solve my sub-project linking problem, but autoconf > complains about not finding AC_LIBTOOL_CXX - where is it? It's in libtool multi-language branch's libtool.m4 -- Alexandre OlivaEnjoy GuaranĂ¡, see http://www.ic

Re: Making libtool use c++ to link c++ shared libraries.

2000-03-29 Thread Lars J. Aas
On Tue, Mar 28, 2000 at 06:26:20PM -0300, Alexandre Oliva wrote: : On Mar 28, 2000, Kevin Atkinson <[EMAIL PROTECTED]> wrote: : > How do I make the multi-lang libtool use c++ to link c++ shared libraries : > so that the c++ libraries are linked in. : : IIRC, you'd have to arrange for libtool to g

Re: Making libtool use c++ to link c++ shared libraries.

2000-03-28 Thread Kevin Atkinson
On 29 Mar 2000, Alexandre Oliva wrote: > On Mar 29, 2000, Kevin Atkinson <[EMAIL PROTECTED]> wrote: > > > AC_LIBTOOL_CXX > > AM_PROG_LIBTOOL > > You must swap these two lines. AM_PROG_LIBTOOL creates libtool, > AC_LIBTOOL_CXX requires AM_PROG_LIBTOOL, then appends to it, but then > the explici

Re: Making libtool use c++ to link c++ shared libraries.

2000-03-28 Thread Alexandre Oliva
On Mar 29, 2000, Kevin Atkinson <[EMAIL PROTECTED]> wrote: > AC_LIBTOOL_CXX > AM_PROG_LIBTOOL You must swap these two lines. AM_PROG_LIBTOOL creates libtool, AC_LIBTOOL_CXX requires AM_PROG_LIBTOOL, then appends to it, but then the explicit AM_PROG_LIBTOOL overwrites it. I'll try to fix this.

Re: Making libtool use c++ to link c++ shared libraries.

2000-03-28 Thread Kevin Atkinson
On Wed, 29 Mar 2000, Kevin Atkinson wrote: > On 28 Mar 2000, Alexandre Oliva wrote: > > > On Mar 28, 2000, Kevin Atkinson <[EMAIL PROTECTED]> wrote: > > > > > On 28 Mar 2000, Alexandre Oliva wrote: > > > > > I tried that and it STILL insists on using gcc to make the shared > > > libraries. > >

Re: Making libtool use c++ to link c++ shared libraries.

2000-03-28 Thread Kevin Atkinson
On 28 Mar 2000, Alexandre Oliva wrote: > On Mar 28, 2000, Kevin Atkinson <[EMAIL PROTECTED]> wrote: > > > On 28 Mar 2000, Alexandre Oliva wrote: > > > I tried that and it STILL insists on using gcc to make the shared > > libraries. > > Do you mean your Makefile runs: > > libtool --mode=link g

Re: Making libtool use c++ to link c++ shared libraries.

2000-03-28 Thread Alexandre Oliva
On Mar 28, 2000, Kevin Atkinson <[EMAIL PROTECTED]> wrote: > On 28 Mar 2000, Alexandre Oliva wrote: > I tried that and it STILL insists on using gcc to make the shared > libraries. Do you mean your Makefile runs: libtool --mode=link g++ lotsastuff.lo -o libmine.la and, nevertheless, libtool s

Re: Making libtool use c++ to link c++ shared libraries.

2000-03-28 Thread Kevin Atkinson
On 28 Mar 2000, Alexandre Oliva wrote: > On Mar 28, 2000, Kevin Atkinson <[EMAIL PROTECTED]> wrote: > > > How do I make the multi-lang libtool use c++ to link c++ shared libraries > > so that the c++ libraries are linked in. > > IIRC, you'd have to arrange for libtool to get an additional > con

Re: Making libtool use c++ to link c++ shared libraries.

2000-03-28 Thread Alexandre Oliva
On Mar 28, 2000, Kevin Atkinson <[EMAIL PROTECTED]> wrote: > How do I make the multi-lang libtool use c++ to link c++ shared libraries > so that the c++ libraries are linked in. IIRC, you'd have to arrange for libtool to get an additional configuration section with information about the C++ comp

Making libtool use c++ to link c++ shared libraries.

2000-03-28 Thread Kevin Atkinson
How do I make the multi-lang libtool use c++ to link c++ shared libraries so that the c++ libraries are linked in. Unless I do the horribly CC=$CXX hack I can't get it to use c++ in insists on using gcc. I have an extern "C" interface and I want C programs not to have to use C++ to do the final