[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

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" does not tell. You need
"nm | grep values".)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]