g++ failures --> libstdc++.so.2.9.0 ?
Jeffrey A Law
law@cygnus.com
Wed Sep 9 05:52:00 GMT 1998
In message < 199809090313.XAA19411@Titan.net >you write:
> Am I right to expect that the libstdc++-2.9 should have been located
> by default in /usr/local/lib if the prefix variable had been set to
> /usr/local ?
Yes.
> Do you mean for example libstdc++.a ? If that is the case then if I
> want libstdc++.so.2.9.0 I would need to used the --enabled-shared option?
Yes. .a files are archive libraries .so files are shared libraries.
To get the shared libraries you have to use --enable-shared.
> Thus I would be better off to recompile egcs with the --enabled-shared
> option if I understand correctly.
Usually. Though on some systems EH does not work across shared
library boundaries. There's also signicant issues to consider if you
are building software that you are going to distribute to other folks
(since you'll have to make sure to ship them a suitable libstdc++
shared library).
jeff
More information about the Gcc
mailing list