NameDateSize

..06-Nov-20129

_doprnt.c06-Nov-20127.4 KiB

aclocal.m406-Nov-20126.4 KiB

alloca.c06-Nov-201213.7 KiB

argv.c06-Nov-201211.5 KiB

asprintf.c06-Nov-20121.8 KiB

at-file.texi06-Nov-2012732

atexit.c06-Nov-2012488

basename.c06-Nov-20121.3 KiB

bcmp.c06-Nov-2012643

bcopy.c06-Nov-2012670

bsearch.c06-Nov-20123.7 KiB

bzero.c06-Nov-2012435

calloc.c06-Nov-2012714

ChangeLog06-Nov-2012244.2 KiB

ChangeLog.gcc4302-Dec-20131.9 KiB

choose-temp.c02-Dec-20132 KiB

clock.c06-Nov-20122.6 KiB

concat.c06-Nov-20125.7 KiB

config/06-Nov-20127

config.h-vms06-Nov-2012201

config.in06-Nov-201211.9 KiB

configure06-Nov-2012275 KiB

configure.ac06-Nov-201220.1 KiB

copying-lib.texi06-Nov-201226.2 KiB

COPYING.LIB06-Nov-201225.8 KiB

copysign.c06-Nov-20122.6 KiB

cp-demangle.c02-Dec-2013110 KiB

cp-demangle.h02-Dec-20135.3 KiB

cp-demint.c06-Nov-20126.8 KiB

cplus-dem.c06-Nov-2012115.6 KiB

dyn-string.c06-Nov-201211 KiB

fdmatch.c06-Nov-20122.1 KiB

ffs.c06-Nov-2012465

fibheap.c06-Nov-201210.5 KiB

floatformat.c02-Dec-201317.5 KiB

fnmatch.c06-Nov-20125.3 KiB

fnmatch.txh06-Nov-20121.9 KiB

fopen_unlocked.c06-Nov-20123.4 KiB

functions.texi02-Dec-201355.6 KiB

gather-docs06-Nov-20123.3 KiB

getcwd.c06-Nov-20121.2 KiB

getopt.c06-Nov-201229.6 KiB

getopt1.c06-Nov-20124.3 KiB

getpagesize.c06-Nov-20122 KiB

getpwd.c06-Nov-20122.5 KiB

getruntime.c06-Nov-20123 KiB

gettimeofday.c06-Nov-2012543

hashtab.c06-Nov-201227.3 KiB

hex.c06-Nov-20126.8 KiB

index.c06-Nov-2012448

insque.c06-Nov-20121.1 KiB

lbasename.c06-Nov-20122 KiB

libiberty.texi06-Nov-201210.9 KiB

lrealpath.c06-Nov-20124.7 KiB

maint-tool06-Nov-20126.2 KiB

make-relative-prefix.c06-Nov-20129.6 KiB

make-temp-file.c06-Nov-20124.4 KiB

Makefile.in16-Dec-201241.1 KiB

makefile.vms06-Nov-2012813

md5.c06-Nov-201213.7 KiB

memchr.c06-Nov-2012811

memcmp.c06-Nov-2012872

memcpy.c06-Nov-2012498

memmove.c06-Nov-2012529

mempcpy.c06-Nov-20121.3 KiB

memset.c06-Nov-2012496

mkstemps.c06-Nov-20123.5 KiB

msdos.c06-Nov-2012177

objalloc.c05-Jun-20167.2 KiB

obstack.c06-Nov-201215.9 KiB

obstacks.texi06-Nov-201229.5 KiB

partition.c06-Nov-20124.8 KiB

pex-common.c06-Nov-201213.9 KiB

pex-common.h06-Nov-20125.8 KiB

pex-djgpp.c06-Nov-20126.6 KiB

pex-msdos.c06-Nov-20127.2 KiB

pex-one.c06-Nov-20121.4 KiB

pex-unix.c02-Dec-201312.4 KiB

pex-win32.c06-Nov-201222.7 KiB

pexecute.c06-Nov-20123.2 KiB

pexecute.txh06-Nov-201210.7 KiB

physmem.c05-Jan-20147.9 KiB

putenv.c06-Nov-20122.2 KiB

random.c06-Nov-201214 KiB

README06-Nov-20122.6 KiB

regex.c06-Nov-2012252.9 KiB

rename.c06-Nov-2012633

rindex.c06-Nov-2012460

safe-ctype.c06-Nov-201210.1 KiB

setenv.c06-Nov-20124.5 KiB

sigsetmask.c06-Nov-2012924

snprintf.c06-Nov-20122.1 KiB

sort.c06-Nov-20124.8 KiB

spaces.c06-Nov-20121.8 KiB

splay-tree.c06-Nov-201212.9 KiB

stpcpy.c06-Nov-20121.3 KiB

stpncpy.c06-Nov-20121.5 KiB

strcasecmp.c06-Nov-20124.2 KiB

strchr.c06-Nov-2012528

strdup.c06-Nov-2012562

strerror.c06-Nov-201220.8 KiB

strncasecmp.c06-Nov-20123.4 KiB

strncmp.c06-Nov-2012634

strndup.c06-Nov-20121.6 KiB

strrchr.c06-Nov-2012548

strsignal.c02-Dec-201314.9 KiB

strstr.c06-Nov-20121 KiB

strtod.c06-Nov-20123.4 KiB

strtol.c06-Nov-20125.3 KiB

strtoul.c06-Nov-20123.2 KiB

strverscmp.c06-Nov-20125.2 KiB

ternary.c06-Nov-20123.9 KiB

testsuite/02-Dec-20137

tmpnam.c06-Nov-20121 KiB

unlink-if-ordinary.c06-Nov-20122 KiB

vasprintf.c06-Nov-20124.7 KiB

vfork.c06-Nov-2012346

vfprintf.c06-Nov-2012343

vmsbuild.com06-Nov-20124.9 KiB

vprintf.c06-Nov-2012848

vsnprintf.c06-Nov-20124.1 KiB

vsprintf.c06-Nov-20121.8 KiB

waitpid.c06-Nov-2012777

xatexit.c06-Nov-20122.1 KiB

xexit.c06-Nov-20121.5 KiB

xmalloc.c06-Nov-20124.6 KiB

xmemdup.c06-Nov-2012948

xstrdup.c06-Nov-2012720

xstrerror.c06-Nov-20122 KiB

xstrndup.c06-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