This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libtool for shared objects?
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: Basile STARYNKEVITCH <basile at starynkevitch dot net>
- Cc: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Tue, 11 Mar 2008 21:42:44 +0100
- Subject: Re: libtool for shared objects?
- References: <47D6E92E.3080407@starynkevitch.net>
Hello Basile,
* Basile STARYNKEVITCH wrote on Tue, Mar 11, 2008 at 09:18:54PM CET:
> First, I have the impression that the libtool in e.g.
> libjava/Makefile.in or libgomp/Makefile.in or libmudflap/Makefile.in is
> not the usual one (I mean the Debian/Sid libtool package version
> 1.5.26-1 for example).
GCC uses a slightly older snapshot of Libtool 2.2.
> I would like to use this tool to compile some
> (generated) warm(basilys.c file into a warm-basilys.la in the most
> portable way (on Linux/ELF systems I would just use gcc -fPIC -shared
> warm-basilys.c -o warm-basilys.so and use the warm-basilys.so shared
> library to dlopen).
In which directory? In those using automake you should be able to just
use the normal automake machinery for this. AFAIK, in the gcc/ subdir
no libtool (nor automake) are used.
Cheers,
Ralf