bug-libtool
[Top][All Lists]
Advanced

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

Re: libtool does not add stdc++ when linking on Linux


From: Christian Thalinger
Subject: Re: libtool does not add stdc++ when linking on Linux
Date: Sat, 21 Jun 2008 13:56:06 +0200

On Fri, 2008-06-20 at 20:47 -0500, Peter O'Gorman wrote:
> Christian Thalinger wrote:
> > On Thu, 2008-06-19 at 13:40 -0500, Bob Friesenhahn wrote:
> >> In my experience, the only portable way to deal with C++ dependencies 
> >> from a C program is to link the C program using the C++ compiler.
> > 
> > How can I do that, portably, with my convenience libraries?
> > 
> 
> Assuming automake:
> http://www.gnu.org/software/automake/manual/automake.html#Libtool-Convenience-Libraries
> 
> nodist_EXTRA_libtop_la_SOURCES = dummy.cxx

Thanks!  That's exactly what I was looking for.

- twisti





reply via email to

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