• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..07-May-2022-

config/H03-May-2022-2013

testsuite/H03-May-2022-4,1364,013

ChangeLogH A D07-Mar-2005211.9 KiB6,3834,401

Makefile.inH A D07-Mar-200537.1 KiB1,059827

READMEH A D10-Jan-20042.6 KiB6750

_doprnt.cH A D22-Jan-20027.5 KiB304246

aclocal.m4H A D27-Dec-20046.7 KiB232214

alloca.cH A D16-Oct-200113.6 KiB479266

argv.cH A D15-Apr-20037.8 KiB356224

asprintf.cH A D03-Jun-20031.8 KiB5818

atexit.cH A D26-Sep-2001492 2910

basename.cH A D26-Sep-20011.2 KiB6137

bcmp.cH A D10-Oct-2001668 3716

bcopy.cH A D26-Sep-2001579 2816

bsearch.cH A D26-Sep-20013.7 KiB9327

bzero.cH A D26-Sep-2001410 2610

calloc.cH A D15-Apr-2003807 4019

choose-temp.cH A D17-Oct-20012 KiB7329

clock.cH A D07-Oct-20012.6 KiB10455

concat.cH A D17-Oct-20015.9 KiB237131

config.h-vmsH A D03-May-1999201 1412

config.inH A D10-Dec-200410.1 KiB382257

config.tableH A D27-Dec-20041.7 KiB6961

configureH A D06-Mar-2005234.5 KiB8,4867,213

configure.acH A D06-Mar-200516.3 KiB575494

copying-lib.texiH A D27-Sep-200126.2 KiB566479

copysign.cH A D15-Apr-20032.6 KiB157138

cp-demangle.cH A D13-Feb-2005109.4 KiB4,4593,250

cp-demangle.hH A D28-Jun-20045 KiB16269

cp-demint.cH A D13-Jan-20046.8 KiB242169

cplus-dem.cH A D24-Nov-2004117.6 KiB4,9053,601

dyn-string.cH A D24-Feb-200411.4 KiB434250

fdmatch.cH A D16-Oct-20012 KiB6822

ffs.cH A D17-Oct-2001473 2811

fibheap.cH A D06-Sep-200311 KiB524386

floatformat.cH A D03-Dec-200316.8 KiB621469

fnmatch.cH A D29-Dec-20005.4 KiB224142

fnmatch.txhH A D17-Oct-20011.9 KiB4938

functions.texiH A D11-Jan-200541.5 KiB1,157840

gather-docsH A D26-Sep-20013.3 KiB12970

getcwd.cH A D15-Apr-20031.2 KiB6540

getopt.cH A D08-Dec-200429.4 KiB1,057636

getopt1.cH A D29-Dec-20004.4 KiB191123

getpagesize.cH A D07-Oct-20012 KiB9158

getpwd.cH A D22-Jan-20042.6 KiB13185

getruntime.cH A D07-May-20023 KiB11764

hashtab.cH A D01-Mar-200527.1 KiB999653

hex.cH A D11-Jan-20056.7 KiB190110

index.cH A D07-Oct-2001435 248

insque.cH A D16-Oct-20011.1 KiB5421

lbasename.cH A D22-Dec-20031.9 KiB6318

libiberty.texiH A D13-Nov-200410.9 KiB325240

lrealpath.cH A D29-Jun-20044.7 KiB15987

maint-toolH A D07-Mar-20056.2 KiB297229

make-relative-prefix.cH A D20-Feb-20039.7 KiB397270

make-temp-file.cH A D17-Oct-20014.3 KiB18099

makefile.vmsH A D22-Feb-2000813 3419

md5.cH A D16-Nov-200213.3 KiB430269

memchr.cH A D15-Apr-2003912 4021

memcmp.cH A D15-Apr-2003971 4221

memcpy.cH A D15-Apr-2003603 3316

memmove.cH A D15-Apr-2003629 3316

mempcpy.cH A D16-Apr-20031.4 KiB4915

memset.cH A D15-Apr-2003592 3317

mkstemps.cH A D29-Apr-20043.5 KiB13978

msdos.cH A D03-May-1999177 1612

objalloc.cH A D20-Nov-20047 KiB299178

obstack.cH A D13-Nov-200117.4 KiB594386

obstacks.texiH A D26-Sep-200129.5 KiB759621

partition.cH A D16-May-20014.9 KiB192116

pex-common.hH A D18-Mar-20041.4 KiB4611

pex-djgpp.cH A D24-Jan-20032.9 KiB10459

pex-msdos.cH A D24-Jan-20033.7 KiB148100

pex-os2.cH A D24-Jan-20032 KiB7342

pex-unix.cH A D30-Nov-20046.1 KiB216133

pex-win32.cH A D31-May-20046.9 KiB256162

pexecute.txhH A D24-Jan-20032.5 KiB6445

physmem.cH A D13-Jun-20037.1 KiB306224

putenv.cH A D22-Jan-20022.2 KiB8641

random.cH A D17-Oct-200114 KiB409198

regex.cH A D20-Nov-2004253.3 KiB8,3225,470

rename.cH A D15-Apr-2003655 3923

rindex.cH A D07-Oct-2001447 248

safe-ctype.cH A D22-Jun-200310 KiB255110

setenv.cH A D22-Jan-20024.5 KiB188118

sigsetmask.cH A D15-Apr-2003924 4220

snprintf.cH A D16-Apr-20032.2 KiB6621

sort.cH A D23-Jul-20004.9 KiB191105

spaces.cH A D16-Oct-20011.7 KiB7134

splay-tree.cH A D07-Dec-200414.1 KiB601403

stpcpy.cH A D16-Apr-20031.4 KiB5016

stpncpy.cH A D16-Apr-20031.6 KiB5519

strcasecmp.cH A D15-Apr-20034.2 KiB9360

strchr.cH A D07-Oct-2001538 3114

strdup.cH A D15-Jan-2004662 3319

strerror.cH A D14-Apr-200420.8 KiB813596

strncasecmp.cH A D15-Apr-20033.5 KiB9361

strncmp.cH A D15-Apr-2003709 4023

strrchr.cH A D07-Oct-2001558 3113

strsignal.cH A D20-Nov-200415 KiB618375

strstr.cH A D15-Apr-20031,011 4420

strtod.cH A D18-Mar-20023.4 KiB13980

strtol.cH A D16-Oct-20015.3 KiB16779

strtoul.cH A D17-Dec-20003.3 KiB11976

ternary.cH A D08-May-20014 KiB167112

tmpnam.cH A D07-Oct-20011 KiB5429

unlink-if-ordinary.cH A D01-Mar-20052 KiB7228

vasprintf.cH A D08-Sep-20044.8 KiB206152

vfork.cH A D07-Oct-2001351 237

vfprintf.cH A D15-Apr-2003428 2316

vmsbuild.comH A D22-Feb-20004.9 KiB166159

vprintf.cH A D15-Apr-2003927 3315

vsnprintf.cH A D22-Apr-20034.2 KiB15492

vsprintf.cH A D15-Apr-20031.9 KiB6431

waitpid.cH A D07-May-2002768 3719

xatexit.cH A D15-Apr-20032.1 KiB10252

xexit.cH A D27-Sep-20011.5 KiB5417

xmalloc.cH A D15-Apr-20034.4 KiB18498

xmemdup.cH A D26-Sep-2001928 3919

xstrdup.cH A D26-Sep-2001657 3518

xstrerror.cH A D20-Nov-20041.8 KiB6834

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