NameDateSize

..20-Dec-20169

_doprnt.cH A D08-Mar-20157.4 KiB

aclocal.m4H A D08-Mar-20156.4 KiB

alloca.cH A D08-Mar-201513.7 KiB

argv.cH A D08-Mar-201511.5 KiB

asprintf.cH A D08-Mar-20151.8 KiB

at-file.texiH A D08-Mar-2015732

atexit.cH A D08-Mar-2015488

basename.cH A D08-Mar-20151.3 KiB

bcmp.cH A D08-Mar-2015643

bcopy.cH A D08-Mar-2015670

bsearch.cH A D08-Mar-20153.7 KiB

bzero.cH A D08-Mar-2015435

calloc.cH A D08-Mar-2015714

ChangeLogH A D08-Mar-2015244.2 KiB

ChangeLog.gcc43H A D08-Mar-20151.9 KiB

choose-temp.cH A D08-Mar-20152 KiB

clock.cH A D08-Mar-20152.6 KiB

concat.cH A D08-Mar-20155.7 KiB

config/H20-Dec-20167

config.h-vmsH A D08-Mar-2015201

config.inH A D08-Mar-201511.9 KiB

configureH A D08-Mar-2015275 KiB

configure.acH A D08-Mar-201520.1 KiB

copying-lib.texiH A D08-Mar-201526.2 KiB

COPYING.LIBH A D08-Mar-201525.8 KiB

copysign.cH A D08-Mar-20152.6 KiB

cp-demangle.cH A D08-Mar-2015110 KiB

cp-demangle.hH A D08-Mar-20155.3 KiB

cp-demint.cH A D08-Mar-20156.8 KiB

cplus-dem.cH A D08-Mar-2015115.6 KiB

dyn-string.cH A D08-Mar-201511 KiB

fdmatch.cH A D08-Mar-20152.1 KiB

ffs.cH A D08-Mar-2015465

fibheap.cH A D08-Mar-201510.5 KiB

floatformat.cH A D08-Mar-201517.5 KiB

fnmatch.cH A D08-Mar-20155.3 KiB

fnmatch.txhH A D08-Mar-20151.9 KiB

fopen_unlocked.cH A D08-Mar-20153.4 KiB

functions.texiH A D08-Mar-201555.6 KiB

gather-docsH A D08-Mar-20153.3 KiB

getcwd.cH A D08-Mar-20151.2 KiB

getopt.cH A D08-Mar-201529.6 KiB

getopt1.cH A D08-Mar-20154.3 KiB

getpagesize.cH A D08-Mar-20152 KiB

getpwd.cH A D08-Mar-20152.5 KiB

getruntime.cH A D08-Mar-20153 KiB

gettimeofday.cH A D08-Mar-2015543

hashtab.cH A D08-Mar-201527.3 KiB

hex.cH A D08-Mar-20156.8 KiB

index.cH A D08-Mar-2015448

insque.cH A D08-Mar-20151.1 KiB

lbasename.cH A D08-Mar-20152 KiB

libiberty.texiH A D08-Mar-201510.9 KiB

lrealpath.cH A D08-Mar-20154.7 KiB

maint-toolH A D08-Mar-20156.2 KiB

make-relative-prefix.cH A D08-Mar-20159.6 KiB

make-temp-file.cH A D08-Mar-20154.4 KiB

Makefile.inH A D08-Mar-201541.1 KiB

makefile.vmsH A D08-Mar-2015813

md5.cH A D08-Mar-201513.7 KiB

memchr.cH A D08-Mar-2015811

memcmp.cH A D08-Mar-2015872

memcpy.cH A D08-Mar-2015498

memmove.cH A D08-Mar-2015529

mempcpy.cH A D08-Mar-20151.3 KiB

memset.cH A D08-Mar-2015496

mkstemps.cH A D08-Mar-20153.5 KiB

msdos.cH A D08-Mar-2015177

objalloc.cH A D08-Mar-20157 KiB

obstack.cH A D08-Mar-201515.9 KiB

obstacks.texiH A D08-Mar-201529.5 KiB

partition.cH A D08-Mar-20154.8 KiB

pex-common.cH A D08-Mar-201513.9 KiB

pex-common.hH A D08-Mar-20155.8 KiB

pex-djgpp.cH A D08-Mar-20156.6 KiB

pex-msdos.cH A D08-Mar-20157.2 KiB

pex-one.cH A D08-Mar-20151.4 KiB

pex-unix.cH A D08-Mar-201512.4 KiB

pex-win32.cH A D08-Mar-201522.7 KiB

pexecute.cH A D08-Mar-20153.2 KiB

pexecute.txhH A D08-Mar-201510.7 KiB

physmem.cH A D08-Mar-20157.2 KiB

putenv.cH A D08-Mar-20152.2 KiB

random.cH A D08-Mar-201514 KiB

READMEH A D08-Mar-20152.6 KiB

regex.cH A D08-Mar-2015252.9 KiB

rename.cH A D08-Mar-2015633

rindex.cH A D08-Mar-2015460

safe-ctype.cH A D08-Mar-201510.1 KiB

setenv.cH A D08-Mar-20154.5 KiB

sigsetmask.cH A D08-Mar-2015924

snprintf.cH A D08-Mar-20152.1 KiB

sort.cH A D08-Mar-20154.8 KiB

spaces.cH A D08-Mar-20151.8 KiB

splay-tree.cH A D08-Mar-201512.9 KiB

stpcpy.cH A D08-Mar-20151.3 KiB

stpncpy.cH A D08-Mar-20151.5 KiB

strcasecmp.cH A D08-Mar-20154.2 KiB

strchr.cH A D08-Mar-2015528

strdup.cH A D08-Mar-2015562

strerror.cH A D08-Mar-201520.8 KiB

strncasecmp.cH A D08-Mar-20153.4 KiB

strncmp.cH A D08-Mar-2015634

strndup.cH A D08-Mar-20151.6 KiB

strrchr.cH A D08-Mar-2015548

strsignal.cH A D08-Mar-201514.9 KiB

strstr.cH A D08-Mar-20151 KiB

strtod.cH A D08-Mar-20153.4 KiB

strtol.cH A D08-Mar-20155.3 KiB

strtoul.cH A D08-Mar-20153.2 KiB

strverscmp.cH A D08-Mar-20155.2 KiB

ternary.cH A D08-Mar-20153.9 KiB

testsuite/H20-Dec-20167

tmpnam.cH A D08-Mar-20151 KiB

unlink-if-ordinary.cH A D08-Mar-20152 KiB

vasprintf.cH A D08-Mar-20154.7 KiB

vfork.cH A D08-Mar-2015346

vfprintf.cH A D08-Mar-2015343

vmsbuild.comH A D08-Mar-20154.9 KiB

vprintf.cH A D08-Mar-2015848

vsnprintf.cH A D08-Mar-20154.1 KiB

vsprintf.cH A D08-Mar-20151.8 KiB

waitpid.cH A D08-Mar-2015777

xatexit.cH A D08-Mar-20152.1 KiB

xexit.cH A D08-Mar-20151.5 KiB

xmalloc.cH A D08-Mar-20154.6 KiB

xmemdup.cH A D08-Mar-2015948

xstrdup.cH A D08-Mar-2015720

xstrerror.cH A D08-Mar-20152 KiB

xstrndup.cH A D08-Mar-20151.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