libtool
[Top][All Lists]
Advanced

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

Re: libtool c++ compiler for *.c source files


From: Andreas Otto
Subject: Re: libtool c++ compiler for *.c source files
Date: Sun, 24 May 2009 18:37:48 +0200
User-agent: KMail/1.9.10

Am Sonntag 24 Mai 2009 16:59:29 schrieb Ralf Wildenhues:
> Hello Andreas,
>
> * Andreas Otto wrote on Fri, May 22, 2009 at 01:17:50PM CEST:
> >     2.      I create a "C" libraray using a couple of *.c files
>
> lib_LTLIBRARIES = libceelib.la
> libceelib_la_SOURCES = foo.c bar.c
>
> >     3.      now I want to create a "C++" library from the same *.c input 
> > files
>
> lib_LTLIBRARIES += libceepluspluslib.la
> libceepluspluslib_la_SOURCES = $(libceelib_la_SOURCES)
> EXTRA_libceepluspluslib_la_SOURCES = dummy.cpp


this does not solve the problem, because not only the linker have to be
choosen ... the "*.c" files itself should be compiled using "g++" and 
not "gcc"



mfg

  Andreas Otto




reply via email to

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