NameDateSize

..22-Nov-201244

_doprnt.cH A D22-Nov-20127.4 KiB

aclocal.m4H A D22-Nov-20126.4 KiB

alloca.cH A D22-Nov-201213.7 KiB

argv.cH A D22-Nov-201211.5 KiB

asprintf.cH A D22-Nov-20121.8 KiB

at-file.texiH A D22-Nov-2012732

atexit.cH A D22-Nov-2012488

basename.cH A D22-Nov-20121.3 KiB

bcmp.cH A D22-Nov-2012643

bcopy.cH A D22-Nov-2012670

bsearch.cH A D22-Nov-20123.7 KiB

bzero.cH A D22-Nov-2012435

calloc.cH A D22-Nov-2012714

ChangeLogH A D22-Nov-2012241.2 KiB

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

clock.cH A D22-Nov-20122.6 KiB

concat.cH A D22-Nov-20125.7 KiB

config/H22-Nov-20127

config.h-vmsH A D22-Nov-2012201

config.inH A D22-Nov-201211.9 KiB

configureH A D22-Nov-2012270.1 KiB

configure.acH A D22-Nov-201218.8 KiB

copying-lib.texiH A D22-Nov-201226.2 KiB

COPYING.LIBH A D22-Nov-201225.8 KiB

copysign.cH A D22-Nov-20122.6 KiB

cp-demangle.cH A D22-Nov-2012109.1 KiB

cp-demangle.hH A D22-Nov-20125 KiB

cp-demint.cH A D22-Nov-20126.8 KiB

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

dyn-string.cH A D22-Nov-201211 KiB

fdmatch.cH A D22-Nov-20122.1 KiB

ffs.cH A D22-Nov-2012465

fibheap.cH A D22-Nov-201210.5 KiB

floatformat.cH A D22-Nov-201217.9 KiB

fnmatch.cH A D22-Nov-20125.3 KiB

fnmatch.txhH A D22-Nov-20121.9 KiB

fopen_unlocked.cH A D22-Nov-20123.4 KiB

functions.texiH A D22-Nov-201254.9 KiB

gather-docsH A D22-Nov-20123.3 KiB

getcwd.cH A D22-Nov-20121.2 KiB

getopt.cH A D22-Nov-201229.6 KiB

getopt1.cH A D22-Nov-20124.3 KiB

getpagesize.cH A D22-Nov-20122 KiB

getpwd.cH A D22-Nov-20122.5 KiB

getruntime.cH A D22-Nov-20123 KiB

gettimeofday.cH A D22-Nov-2012543

hashtab.cH A D22-Nov-201226.6 KiB

hex.cH A D22-Nov-20126.8 KiB

index.cH A D22-Nov-2012448

insque.cH A D22-Nov-20121.1 KiB

lbasename.cH A D22-Nov-20122 KiB

libiberty.texiH A D22-Nov-201210.9 KiB

lrealpath.cH A D22-Nov-20124.7 KiB

maint-toolH A D22-Nov-20126.2 KiB

make-relative-prefix.cH A D22-Nov-20129.6 KiB

make-temp-file.cH A D22-Nov-20124.4 KiB

Makefile.inH A D22-Nov-201240.9 KiB

makefile.vmsH A D22-Nov-2012813

md5.cH A D22-Nov-201213.7 KiB

memchr.cH A D22-Nov-2012811

memcmp.cH A D22-Nov-2012872

memcpy.cH A D22-Nov-2012498

memmove.cH A D22-Nov-2012529

mempcpy.cH A D22-Nov-20121.3 KiB

memset.cH A D22-Nov-2012496

mkstemps.cH A D22-Nov-20123.5 KiB

msdos.cH A D22-Nov-2012177

objalloc.cH A D22-Nov-20127 KiB

obstack.cH A D22-Nov-201215.9 KiB

obstacks.texiH A D22-Nov-201229.5 KiB

partition.cH A D22-Nov-20124.8 KiB

pex-common.cH A D22-Nov-201213.2 KiB

pex-common.hH A D22-Nov-20125.5 KiB

pex-djgpp.cH A D22-Nov-20126.3 KiB

pex-msdos.cH A D22-Nov-20127.1 KiB

pex-one.cH A D22-Nov-20121.4 KiB

pex-unix.cH A D22-Nov-201212.1 KiB

pex-win32.cH A D22-Nov-201220.1 KiB

pexecute.cH A D22-Nov-20123.2 KiB

pexecute.txhH A D22-Nov-201210 KiB

physmem.cH A D22-Nov-20127.2 KiB

putenv.cH A D22-Nov-20122.2 KiB

random.cH A D22-Nov-201214 KiB

READMEH A D22-Nov-20122.6 KiB

regex.cH A D22-Nov-2012252.9 KiB

rename.cH A D22-Nov-2012633

rindex.cH A D22-Nov-2012460

safe-ctype.cH A D22-Nov-201210.1 KiB

setenv.cH A D22-Nov-20124.5 KiB

sigsetmask.cH A D22-Nov-2012924

snprintf.cH A D22-Nov-20122.1 KiB

sort.cH A D22-Nov-20124.8 KiB

spaces.cH A D22-Nov-20121.8 KiB

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

stpcpy.cH A D22-Nov-20121.3 KiB

stpncpy.cH A D22-Nov-20121.5 KiB

strcasecmp.cH A D22-Nov-20124.2 KiB

strchr.cH A D22-Nov-2012528

strdup.cH A D22-Nov-2012562

strerror.cH A D22-Nov-201220.8 KiB

strncasecmp.cH A D22-Nov-20123.4 KiB

strncmp.cH A D22-Nov-2012634

strndup.cH A D22-Nov-20121.6 KiB

strrchr.cH A D22-Nov-2012548

strsignal.cH A D22-Nov-201214.9 KiB

strstr.cH A D22-Nov-20121 KiB

strtod.cH A D22-Nov-20123.4 KiB

strtol.cH A D22-Nov-20125.3 KiB

strtoul.cH A D22-Nov-20123.2 KiB

strverscmp.cH A D22-Nov-20125.2 KiB

ternary.cH A D22-Nov-20123.9 KiB

testsuite/H22-Nov-20127

tmpnam.cH A D22-Nov-20121 KiB

unlink-if-ordinary.cH A D22-Nov-20122 KiB

vasprintf.cH A D22-Nov-20124.7 KiB

vfork.cH A D22-Nov-2012346

vfprintf.cH A D22-Nov-2012343

vmsbuild.comH A D22-Nov-20124.9 KiB

vprintf.cH A D22-Nov-2012848

vsnprintf.cH A D22-Nov-20124.1 KiB

vsprintf.cH A D22-Nov-20121.8 KiB

waitpid.cH A D22-Nov-2012777

xatexit.cH A D22-Nov-20122.1 KiB

xexit.cH A D22-Nov-20121.5 KiB

xmalloc.cH A D22-Nov-20124.6 KiB

xmemdup.cH A D22-Nov-2012948

xstrdup.cH A D22-Nov-2012720

xstrerror.cH A D22-Nov-20122 KiB

xstrndup.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 to "gcc-bugs@gcc.gnu.org" and send fixes to
19"gcc-patches@gcc.gnu.org".  Thank you.
20
21ADDING A NEW FILE
22=================
23
24There are two sets of files:  Those that are "required" will be
25included in the library for all configurations, while those
26that are "optional" will be included in the library only if "needed."
27
28To add a new required file, edit Makefile to add the source file
29name to CFILES and the object file to REQUIRED_OFILES.
30
31To add a new optional file, it must provide a single function, and the
32name of the function must be the same as the name of the file.
33
34    * Add the source file name to CFILES.
35
36    * Add the function to name to the funcs shell variable in
37      configure.ac.
38
39    * Add the function to the AC_CHECK_FUNCS lists just after the
40      setting of the funcs shell variable.  These AC_CHECK_FUNCS calls
41      are never executed; they are there to make autoheader work
42      better.
43
44    * Consider the special cases of building libiberty; as of this
45      writing, the special cases are newlib and VxWorks.  If a
46      particular special case provides the function, you do not need
47      to do anything.  If it does not provide the function, add the
48      object file to LIBOBJS, and add the function name to the case
49      controlling whether to define HAVE_func.
50
51The optional file you've added (e.g. getcwd.c) should compile and work
52on all hosts where it is needed.  It does not have to work or even
53compile on hosts where it is not needed.
54
55ADDING A NEW CONFIGURATION
56==========================
57
58On most hosts you should be able to use the scheme for automatically
59figuring out which files are needed.  In that case, you probably
60don't need a special Makefile stub for that configuration.
61
62If the fully automatic scheme doesn't work, you may be able to get
63by with defining EXTRA_OFILES in your Makefile stub.  This is
64a list of object file names that should be treated as required
65for this configuration - they will be included in libiberty.a,
66regardless of whatever might be in the C library.
67