🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Scott Weikart Tue, 05 Jan 1993 03:34
suggestions for getopt*.c in libiberty
#1251
Author: Scott Weikart
Date: Tue, 05 Jan 1993 03:34
15 lines
1087 bytes
I'd like to add -liberty to some of my Makefiles that run on BSD and SysV.  I
want to put it after -lc, since any existing routines on a particular Unix are
probably more efficient than the versions in -liberty.  But when I try to use
getopt_long, libiberty.a(getopt.o) gets dragged in because it contains
_getopt_internal.

It would be great if _getopt_internal could be put in getopt1.c instead of
getopt.c .

Also, it would be nice if libiberty.tar.Z, with it's own configure, could
appear in prep.ai.mit.edu:~ftp/pub/gnu.

Scott Weikart			Community Data Processing (CdP): 415-322-9069
Internet: scott@igc.apc.org	Bitnet: scott%igc.apc.org@stanford
UUCP Mail Net: uunet!cdp!scott
Re: suggestions for getopt*.c in libiberty
#1261
Author: bothner
Date: Tue, 05 Jan 1993 16:07
19 lines
1257 bytes
> I want to put it after -lc, since any existing routines on a particular
> Unix are probably more efficient than the versions in -liberty.

Most routines in libiberty are there only if there is no
corresponding routine in libc.  Any other routines are unlikely
to be any more efficient in libc.

The efficiency of getopt is particularly irrelevant - even if
it made a difference, why do you think the system version is preferable?

> Also, it would be nice if libiberty.tar.Z, with it's own configure, could
> appear in prep.ai.mit.edu:~ftp/pub/gnu.

There are no plans for this, since libiberty is just a utility library
for Cygnus releases.  It has no particular deocumentation or specification.
If non-Cygnus packages start using it, we might re-consider.

	--Per Bothner
Cygnus Support     bothner@cygnus.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads