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]

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


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