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: Peter O'Gorman
Subject: Re: libtool does not add stdc++ when linking on Linux
Date: Fri, 20 Jun 2008 20:47:00 -0500
User-agent: Thunderbird 2.0.0.14 (X11/20080501)

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

Peter
-- 
Peter O'Gorman
http://pogma.com




reply via email to

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