libstdc++.a in gcc-lib?

Marco Manfai Yu yumf@ultimatech.com
Thu Oct 8 10:45:00 GMT 1998


Hi,

    I am upgrading my compiler from 1.0.3a to 1.1. In the mean time
I need to compile my code using both compilers from time to time.
This causes a problem: both compilers have their own libstdc++ and
they are not compatible. The default installation installs libstdc++.a
into /usr/local/lib, which overwrites the old one. My question is:
is it a better idea to move libstdc++ into gcc-lib/<version> like
libgcc.a? Seems to me that the compiler depends on the library to
provide certain functions (such as EH) so libstdc++ is
compiler-specific anyway.

Comments?

Marco Yu
yumf@ultimatech.com



More information about the Gcc mailing list