bug-gnulib
[Top][All Lists]
Advanced

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

Re: module gethostname


From: Bruno Haible
Subject: Re: module gethostname
Date: Wed, 15 Sep 2010 20:18:10 +0200
User-agent: KMail/1.9.9

Bruce,

> Once upon a time, long ago and far away, I proposed a new
> library, "libcompat" that more-or-less would make all target
> platforms look pretty much identical.  Lo and behold, over the
> past decade, gnulib has gradually grown up to provide all
> that infrastructure.  The only problem with it is that gnulib is
> glued in to each project ...

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.

> 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. That's
why gnulib offers modules 'readline', 'libsigsegv', 'libunistring', etc.
They use autoconf macros that *do* work with Solaris cc as well as GCC.

Bruno



reply via email to

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