compilation problems with gcc 3.0
Anupam Kapoor
anupamkap@earthlink.net
Fri Jun 22 00:21:00 GMT 2001
On Thursday 21 June 2001 09:35, Michael Jarvis wrote:
> I think you need to specify "--enable-shared" when you configure in order
> to build a shared libstdc++.
>
> I built gcc-2.95.3 with:
>
> ../gcc-2.95.3/configure --prefix=/home/gcc --with-gnu-as --with-gnu-ld \
> --enable-threads=posix --enable-version-specific-runtime-libs \
> --enable-languages=c++ --enable-shared
>
> I'm still trying to get gcc-3.0 to build. :-)
>
> Good luck!
no actually you don't have to explicitly specify building the shared
libraries. they are enabled by default (this has been enabled from
the current release of gcc. earlier releases warranted an explicit
decleration to this effect, as you have shown above). if your target cannot
generate shared objects, then static libs will be generated for you. however,
you can explicitly control, what libs are generated from the compile e.g.
gcc, libstdc++, gc-boehm etc.
i would be glad to know, of any eoe in the statment above though.
thanks
anupam
More information about the Gcc-help
mailing list