• Home
  • History
  • Annotate
  • only in this directory
NameDateSize

..22-Jun-202140

_doprnt.cH A D22-Jun-20217.4 KiB

aclocal.m4H A D22-Jun-20216.4 KiB

alloca.cH A D22-Jun-202113.7 KiB

argv.cH A D22-Jun-202112.5 KiB

asprintf.cH A D22-Jun-20211.8 KiB

at-file.texiH A D22-Jun-2021732

atexit.cH A D22-Jun-2021488

basename.cH A D22-Jun-20211.3 KiB

bcmp.cH A D22-Jun-2021643

bcopy.cH A D22-Jun-2021694

bsearch.cH A D22-Jun-20213.7 KiB

bzero.cH A D22-Jun-2021435

calloc.cH A D22-Jun-2021714

ChangeLogH A D22-Jun-2021250.9 KiB

choose-temp.cH A D22-Jun-20212 KiB

clock.cH A D22-Jun-20212.6 KiB

concat.cH A D22-Jun-20215.7 KiB

config/H22-Jun-20215

config.inH A D22-Jun-202111.9 KiB

configureH A D22-Jun-2021278.2 KiB

copying-lib.texiH A D22-Jun-202126.2 KiB

copysign.cH A D22-Jun-20212.6 KiB

cp-demangle.cH A D22-Jun-2021115.4 KiB

cp-demangle.hH A D22-Jun-20215.4 KiB

cp-demint.cH A D22-Jun-20216.8 KiB

cplus-dem.cH A D22-Jun-2021115.6 KiB

dyn-string.cH A D22-Jun-202111 KiB

fdmatch.cH A D22-Jun-20212.1 KiB

ffs.cH A D22-Jun-2021465

fibheap.cH A D22-Jun-202110.5 KiB

filename_cmp.cH A D22-Jun-20212.1 KiB

floatformat.cH A D22-Jun-202117.5 KiB

fnmatch.cH A D22-Jun-20215.3 KiB

fnmatch.txhH A D22-Jun-20211.9 KiB

functions.texiH A D22-Jun-202157.2 KiB

gather-docsH A D22-Jun-20213.3 KiB

getcwd.cH A D22-Jun-20211.2 KiB

getpagesize.cH A D22-Jun-20212 KiB

getpwd.cH A D22-Jun-20212.5 KiB

getruntime.cH A D22-Jun-20213 KiB

hashtab.cH A D22-Jun-202127.3 KiB

hex.cH A D22-Jun-20216.8 KiB

index.cH A D22-Jun-2021448

insque.cH A D22-Jun-20211.1 KiB

lbasename.cH A D22-Jun-20212 KiB

libiberty.texiH A D22-Jun-202110.9 KiB

lrealpath.cH A D22-Jun-20214.7 KiB

maint-toolH A D22-Jun-20216.2 KiB

make-relative-prefix.cH A D22-Jun-202110.8 KiB

make-temp-file.cH A D22-Jun-20214.4 KiB

Makefile.inH A D22-Jun-202141.9 KiB

md5.cH A D22-Jun-202113.7 KiB

memchr.cH A D22-Jun-2021811

memcmp.cH A D22-Jun-2021872

memcpy.cH A D22-Jun-2021498

memmove.cH A D22-Jun-2021529

memset.cH A D22-Jun-2021496

mkstemps.cH A D22-Jun-20213.5 KiB

objalloc.cH A D22-Jun-20217 KiB

obstack.cH A D22-Jun-202115.9 KiB

obstacks.texiH A D22-Jun-202129.5 KiB

partition.cH A D22-Jun-20214.8 KiB

pexecute.cH A D22-Jun-20213.2 KiB

physmem.cH A D22-Jun-20217.2 KiB

putenv.cH A D22-Jun-20212.2 KiB

random.cH A D22-Jun-202114 KiB

READMEH A D22-Jun-20212.6 KiB

regex.cH A D22-Jun-2021252.9 KiB

rename.cH A D22-Jun-2021633

rindex.cH A D22-Jun-2021460

safe-ctype.cH A D22-Jun-202110.1 KiB

setenv.cH A D22-Jun-20214.5 KiB

sigsetmask.cH A D22-Jun-2021924

sort.cH A D22-Jun-20214.8 KiB

spaces.cH A D22-Jun-20211.8 KiB

splay-tree.cH A D22-Jun-202112.9 KiB

strcasecmp.cH A D22-Jun-20214.2 KiB

strchr.cH A D22-Jun-2021528

strdup.cH A D22-Jun-2021562

strerror.cH A D22-Jun-202120.8 KiB

strncasecmp.cH A D22-Jun-20213.4 KiB

strncmp.cH A D22-Jun-2021634

strrchr.cH A D22-Jun-2021548

strsignal.cH A D22-Jun-202114.9 KiB

strstr.cH A D22-Jun-20211 KiB

strtod.cH A D22-Jun-20213.4 KiB

strtol.cH A D22-Jun-20215.3 KiB

strtoul.cH A D22-Jun-20213.2 KiB

ternary.cH A D22-Jun-20213.9 KiB

tmpnam.cH A D22-Jun-20211 KiB

unlink-if-ordinary.cH A D22-Jun-20212 KiB

vasprintf.cH A D22-Jun-20214.7 KiB

vfork.cH A D22-Jun-2021346

vfprintf.cH A D22-Jun-2021343

vprintf.cH A D22-Jun-2021848

vsprintf.cH A D22-Jun-20211.8 KiB

waitpid.cH A D22-Jun-2021777

xatexit.cH A D22-Jun-20212.1 KiB

xexit.cH A D22-Jun-20211.5 KiB

xmalloc.cH A D22-Jun-20214.6 KiB

xmemdup.cH A D22-Jun-2021948

xstrdup.cH A D22-Jun-2021720

xstrerror.cH A D22-Jun-20212 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