Paul Eggert wrote:
> Given the other problems that ensue on Solaris when one compiles and
> links to different standards, the simplest answer may be just "don't
> do that". It's not just the __xpg4 and __xpg6 stuff; it's also the
> _lib_version stuff: scanf behaves differently depending on which
> flavor of the -X option one passes to cc. It's quite a mess.
Your proposed answer "don't do that" would imply that every library
is distributed in different variants, one for each standards compliance.
Not only /usr/lib and /usr/lib/64, but
/usr/lib
/usr/lib/xpg4
/usr/lib/xpg6
/usr/lib/64
/usr/lib/64/xpg4
/usr/lib/64/xpg6
This is not realistic: People are not distributing libraries in this
way, and are not even aware for which standard a library was built
and tested for. ("file libfoo.so" does not tell. You need
"nm libfoo.so | grep values".)
Bruno
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool