bug-gnulib
[Top][All Lists]
Advanced

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

Re: module libposix (was: module gethostname)


From: Bruce Korb
Subject: Re: module libposix (was: module gethostname)
Date: Wed, 15 Sep 2010 11:41:59 -0700

Hi Bruno,

On Wed, Sep 15, 2010 at 11:18 AM, Bruno Haible <address@hidden> wrote:
>
> Have you tried to follow the approach of
>  
> <http://www.gnu.org/software/gnulib/manual/html_node/POSIX-Substitutes-Library.html>?
> I haven't, but I would like to hear about success or problems that
> you encounter.

That should put together all the stuff to do it, but it isn't an
installable package.
Were it tweaked around to be one, then it ought to be what I am suggesting.
Then it becomes a matter of how to test for its existence and version, with, for
example, my play time toy requiring a version not more than 5 years old or so.

>> I do think it would be Really, Really Nice if there were a
>> gnulib.pc file one could test.
>
> Forget about pkg-config *.pc files. They don't allow the user to use a
> different compiler than the one with which the library was built.

A "standard config" for a particular environment is going to use a particular
compiler.  If a package builder wants a different compiler, it would mean
that the builder would want to use a different .pc file.  Remember, this is
targeted toward folks that want a vanilla install on their current platform,
and don't want to spend more time configuring than compiling projects.
"Vanilla" would imply "vanilla compiler for this site" also.

>From this perspective, I don't see an issue with Solaris CC vs. GCC.
You could even combine two "libposix" installs via some ``diff -Dname''
magic on the output text files.  (A hand wave -- I'm sure there are more
details.)

 - Bruce



reply via email to

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