[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: linkat, LINK_FOLLOWS_SYMLINKS, and Solaris
From: |
Bruno Haible |
Subject: |
Re: linkat, LINK_FOLLOWS_SYMLINKS, and Solaris |
Date: |
Mon, 27 Dec 2010 14:03:42 +0100 |
User-agent: |
KMail/1.9.9 |
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
- linkat, LINK_FOLLOWS_SYMLINKS, and Solaris, Bruno Haible, 2010/12/26
- Re: linkat, LINK_FOLLOWS_SYMLINKS, and Solaris, Paul Eggert, 2010/12/26
- Re: linkat, LINK_FOLLOWS_SYMLINKS, and Solaris,
Bruno Haible <=
- Re: linkat, LINK_FOLLOWS_SYMLINKS, and Solaris, Bob Friesenhahn, 2010/12/27
- Re: linkat, LINK_FOLLOWS_SYMLINKS, and Solaris, Paul Eggert, 2010/12/27
- Re: linkat, LINK_FOLLOWS_SYMLINKS, and Solaris, Paul Eggert, 2010/12/28
- Re: linkat, LINK_FOLLOWS_SYMLINKS, and Solaris, Bruno Haible, 2010/12/27