|
From: | e.sammer |
Subject: | Re: gcc3.1 on Redhat 7.3 |
Date: | Mon, 27 May 2002 01:35:42 -0400 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc3) Gecko/20020523 |
Stefan Böhringer wrote:
However only a static libobjc is generated (libobjc.a; also libobjc.la is produced: what is this for?).
The libobjc.la file is produced by ltmain.sh (automake / libtool) and used by libtool to make linking easier for itself. It keeps some meta information about the library and a way for libtool to find libraries and the like. Generally, you do not need to change or touch these files.
Does anybody know how to force a shared library in the gcc compilation process?
When you configure gcc, add the option '--enable-shared' which will make all support libraries (libobjc, libgcc_s, libstdc++, etc.) shared. Keep in mind that sometimes 'configure --help' does not show all of the options available because it calls other configure scripts internally. In other words, you should always read the install docs no matter what.
Hope that helps... -- eric sammer <eric@linuxstep.org LinuxSTEP http://www.linuxstep.org InterfaceWM http://interfacewm.sourceforge.net
[Prev in Thread] | Current Thread | [Next in Thread] |