libtool for shared objects?
Ralf Wildenhues
Ralf.Wildenhues@gmx.de
Tue Mar 11 21:02:00 GMT 2008
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
More information about the Gcc
mailing list