Re: linkat, LINK_FOLLOWS_SYMLINKS, and Solaris

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux