This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libtool for shared objects?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]