[Top][All Lists]

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

Re: Automake/Libtool does not create shared libraries

From: Alexandre Duret-Lutz
Subject: Re: Automake/Libtool does not create shared libraries
Date: Wed, 27 Aug 2003 01:09:08 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

>>> "Johnny" == Johnny Wezel <address@hidden> writes:

 Johnny> What's needed to create shared libraries? My automake only creates
 Johnny> static libraries.

 Johnny> This is my

 Johnny> lib_LTLIBRARIES =
 Johnny> library_includedir = $(includedir)/libj

 Johnny> libj_la_SOURCES =\
 Johnny> JFlAdd.h\
 Johnny> JFlAnyValue.h\
 Johnny> JFlArray.h\
 Johnny> JFlBinaryOperation.h\
 Johnny> ...

This looks fine to me.

 Johnny> I tried several versions of automake (1.4 thru 1.7);
 Johnny> all behave the same.

Automake just outputs rules to build the, and these
probably haven't changed a lot.  Libtool is called at make-time
to build; this can cause static or shared libraries to
be built as a side effect, depending on the configuration of
libtool.  So for such a problem, you should probably look how
libtool is setup.

I'm wondering whether you might be thinking that shared
libraries are not built simply because you cannot see them.
Libtool builds such libraries in a secret place.  You should
only refer to in your Makefile and let libtool do the
Alexandre Duret-Lutz

reply via email to

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