This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Correct way to disable-shared, but enable-shared for modules
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: Richard Shih-Ping Chan <cshihpin at dso dot org dot sg>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 21 Dec 2001 00:56:08 +1300
- Subject: Re: Correct way to disable-shared, but enable-shared for modules
- References: <20011220115534.A3692@cshihpin.dso.org.sg>
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.