This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Correct way to disable-shared, but enable-shared for modules
- From: Richard Shih-Ping Chan <cshihpin at dso dot org dot sg>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 20 Dec 2001 11:55:34 +0800
- Subject: Correct way to disable-shared, but enable-shared for modules
Folks, what is the way to disable-shared globally but enable on some
modules. (I don't want the shared libgcc but want shared libstdc++ and
libjava).
Is it
./configure --disable-shared --enable-shared=libstdc++,libjava ??
(Are these module names correct BTW?)
Didn't seem to work for me on 3.0.2 (everything was built static). Is
this fixed in 3.0.3pre? (On 3.0.2 I seemed to have to hack the Makefile
to pass --enable-shared when configuring for TARGET_MODULES.)
--
Richard Chan <cshihpin@dso.org.sg>
DSO National Laboratories
20 Science Park Drive
Singapore 118230
Tel: 7727045
Fax: 7766476