[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Creating a shared object rather the a static library
From: |
Russ Allbery |
Subject: |
Re: Creating a shared object rather the a static library |
Date: |
Mon, 26 Feb 2007 23:07:23 -0800 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux) |
Jeff Safier <address@hidden> writes:
> Not using libtool, how would I create a shored object. automake seems
> to be defaulting to creating a static library
Far and away the easiest answer to this question is "start using libtool,"
particularly if you're already using Automake, since all of the Automake
magic assumes that you're going to use libtool to create that sort of
object. If you're assuming gcc, you could write rules by hand to use
-shared, or you might be able to hack around Automake by putting -shared
into an appropriate Automake compiler flag variable, but you're really
going behind Automake's back and breaking assumptions.
--
Russ Allbery (address@hidden) <http://www.eyrie.org/~eagle/>