delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/07/09:02:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <42CD279C.2070807@byu.net>
Date: Thu, 07 Jul 2005 07:01:16 -0600
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
CC: George Morgan <george_morgan AT spamcop DOT net>, cygwin AT cygwin DOT com
Subject: Re: No getline() in stdio.h?
References: <20050707041233 DOT 7k8444kw00cc8w48 AT webmail DOT spamcop DOT net> <42CD1950 DOT 10101 AT byu DOT net> <42CD1F8F DOT 9070000 AT familiehaase DOT de>
In-Reply-To: <42CD1F8F.9070000@familiehaase.de>
X-IsSubscribed: yes

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Gerrit P. Haase on 7/7/2005 6:26 AM:
>>http://www.gnu.org/software/gnulib/
> 
> Same approach as libgen? Are dirname() and basename() included?

Gnulib uses source code sharing.  There is no libgnulib.a, just a lot of
small modules that can be individually selected using `gnulib-tool
- --import', using a line in configure.ac `gl_MODULES(<modulename>...)'.

> 
> I would appreciate if at least the included functions could be listed in
> the manual.  However, it isn't.  Do you have the archive handy and if
> so, would you please dump a list of included symbols
> (nm libgnulib.a | grep ' T ')?

The list of modules is constantly being updated, the best bet is to check
this link from the gnulib homepage:
http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/gnulib/gnulib/MODULES.html?rev=HEAD&content-type=text/html

As an example, CVS head of m4 uses gl_MODULES(assert error exit free
gettext mkstemp obstack progname regex stdbool strtol xalloc xalloc-die
xstrndup).  Coreutils uses a bigger subset of available modules (and to
keep this thread cygwin-related, I will note that some of my patches to
upstream coreutils have made their way into gnulib, so that other programs
also have the same cygwin porting issues fixed simply by using gnulib).
Other gnulib-using projects include findutils and GNU tar.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCzSec84KuGfSFAYARAvMTAJ4/O6lNEDNgtsK0c3By+Vft15XD3wCfb3uZ
d+7zHx1KnX1G/mPWOFB6suY=
=X7Kg
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019