Correct way to disable-shared, but enable-shared for modules

Bryce McKinlay bryce@waitaki.otago.ac.nz
Thu Dec 20 04:22:00 GMT 2001


Richard Shih-Ping Chan wrote:

>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).
>
I don't think there is a way to do this. If you want to make a binary 
with a static libgcc, you can use the "-static-libgcc" option at compile 
time.

regards

Bryce.




More information about the Gcc mailing list