NameDateSize

..27-Sep-201339

acconfig.hH A D22-Nov-2012295

alloca-conf.hH A D22-Nov-2012548

alloca.cH A D22-Nov-201214 KiB

argv.cH A D22-Nov-20128.1 KiB

asprintf.cH A D22-Nov-20121.5 KiB

atexit.cH A D22-Nov-2012353

basename.cH A D22-Nov-2012672

bcmp.cH A D22-Nov-2012787

bcopy.cH A D22-Nov-2012711

bzero.cH A D22-Nov-2012522

calloc.cH A D22-Nov-2012466

ChangeLogH A D22-Nov-2012114.4 KiB

choose-temp.cH A D22-Nov-20125.4 KiB

clock.cH A D22-Nov-20122.2 KiB

concat.cH A D22-Nov-20123.8 KiB

config/H22-Nov-20126

config.h-vmsH A D22-Nov-2012201

config.inH A D22-Nov-20125.4 KiB

config.tableH A D22-Nov-20121.7 KiB

configureH A D22-Nov-201285.5 KiB

configure.batH A D22-Nov-2012293

configure.inH A D22-Nov-201210.6 KiB

COPYING.LIBH A D22-Nov-201224.7 KiB

copysign.cH A D22-Nov-20122.4 KiB

cplus-dem.cH A D22-Nov-2012109.2 KiB

fdmatch.cH A D22-Nov-20122.1 KiB

floatformat.cH A D22-Nov-201211.7 KiB

fnmatch.cH A D22-Nov-20125.4 KiB

getcwd.cH A D22-Nov-20121.2 KiB

getopt.cH A D22-Nov-201229.5 KiB

getopt1.cH A D22-Nov-20124.4 KiB

getpagesize.cH A D22-Nov-20122.1 KiB

getruntime.cH A D22-Nov-20122.3 KiB

hex.cH A D22-Nov-20121.1 KiB

index.cH A D22-Nov-2012143

insque.cH A D22-Nov-2012930

makefile.dosH A D22-Nov-2012367

Makefile.inH A D22-Nov-20128.4 KiB

makefile.vmsH A D22-Nov-2012801

memchr.cH A D22-Nov-20121.2 KiB

memcmp.cH A D22-Nov-2012787

memcpy.cH A D22-Nov-2012543

memmove.cH A D22-Nov-2012334

memset.cH A D22-Nov-2012372

mkstemps.cH A D22-Nov-20123.3 KiB

mpw-config.inH A D22-Nov-2012163

mpw-make.sedH A D22-Nov-20121.4 KiB

mpw.cH A D22-Nov-201219.5 KiB

msdos.cH A D22-Nov-2012177

objalloc.cH A D22-Nov-20127 KiB

obstack.cH A D22-Nov-201217.4 KiB

pexecute.cH A D22-Nov-201218.4 KiB

putenv.cH A D22-Nov-20121.8 KiB

random.cH A D22-Nov-201212.6 KiB

READMEH A D22-Nov-20122.6 KiB

rename.cH A D22-Nov-2012351

rindex.cH A D22-Nov-2012147

setenv.cH A D22-Nov-20123.9 KiB

sigsetmask.cH A D22-Nov-2012730

spaces.cH A D22-Nov-20121.8 KiB

splay-tree.cH A D22-Nov-20128.5 KiB

strcasecmp.cH A D22-Nov-20124.1 KiB

strchr.cH A D22-Nov-2012583

strdup.cH A D22-Nov-2012172

strerror.cH A D22-Nov-201220.9 KiB

strncasecmp.cH A D22-Nov-20123.3 KiB

strrchr.cH A D22-Nov-2012603

strsignal.cH A D22-Nov-201215.2 KiB

strstr.cH A D22-Nov-2012959

strtod.cH A D22-Nov-20122.9 KiB

strtol.cH A D22-Nov-20124.5 KiB

strtoul.cH A D22-Nov-20123.3 KiB

testsuite/H22-Nov-20125

tmpnam.cH A D22-Nov-2012618

vasprintf.cH A D22-Nov-20123.8 KiB

vfork.cH A D22-Nov-2012157

vfprintf.cH A D22-Nov-2012399

vmsbuild.comH A D22-Nov-20124.9 KiB

vprintf.cH A D22-Nov-2012237

vsprintf.cH A D22-Nov-20121.8 KiB

waitpid.cH A D22-Nov-2012178

xatexit.cH A D22-Nov-20121.8 KiB

xexit.cH A D22-Nov-20121.2 KiB

xmalloc.cH A D22-Nov-20124.2 KiB

xstrdup.cH A D22-Nov-2012508

xstrerror.cH A D22-Nov-20121.6 KiB

README

1This directory contains the -liberty library of free software.
2It is a collection of subroutines used by various GNU programs.
3Current members include:
4
5	getopt -- get options from command line
6	obstack -- stacks of arbitrarily-sized objects
7	strerror -- error message strings corresponding to errno
8	strtol -- string-to-long conversion
9	strtoul -- string-to-unsigned-long conversion
10
11We expect many of the GNU subroutines that are floating around to
12eventually arrive here.
13
14The library must be configured from the top source directory.  Don't
15try to run configure in this directory.  Follow the configuration
16instructions in ../README.
17
18Please report bugs and fixes to "bug-gnu-utils@prep.ai.mit.edu".  Thank you.
19
20ADDING A NEW FILE
21=================
22
23There are two sets of files:  Those that are "required" will be
24included in the library for all configurations, while those
25that are "optional" will be included in the library only if "needed."
26
27To add a new required file, edit Makefile to add the source file
28name to CFILES and the object file to REQUIRED_OFILES.
29
30To add a new optional file, it must provide a single function, and the
31name of the function must be the same as the name of the file.
32
33    * Add the source file name to CFILES.
34
35    * Add the function to name to the funcs shell variable in
36      configure.in.
37
38    * Add the function to the AC_CHECK_FUNCS lists just after the
39      setting of the funcs shell variable.  These AC_CHECK_FUNCS calls
40      are never executed; they are there to make autoheader work
41      better.
42
43    * Consider the special cases of building libiberty; as of this
44      writing, the special cases are newlib and VxWorks.  If a
45      particular special case provides the function, you do not need
46      to do anything.  If it does not provide the function, add the
47      object file to LIBOBJS, and add the function name to the case
48      controlling whether to define HAVE_func.
49
50The optional file you've added (e.g. getcwd.c) should compile and work
51on all hosts where it is needed.  It does not have to work or even
52compile on hosts where it is not needed.
53
54ADDING A NEW CONFIGURATION
55==========================
56
57On most hosts you should be able to use the scheme for automatically
58figuring out which files are needed.  In that case, you probably
59don't need a special Makefile stub for that configuration.
60
61If the fully automatic scheme doesn't work, you may be able to get
62by with defining EXTRA_OFILES in your Makefile stub.  This is
63a list of object file names that should be treated as required
64for this configuration - they will be included in libiberty.a,
65regardless of whatever might be in the C library.
66