徐启航 0b324a1ae7 Init hace 2 años
..
config 0b324a1ae7 Init hace 2 años
testsuite 0b324a1ae7 Init hace 2 años
.gitignore 0b324a1ae7 Init hace 2 años
COPYING.LIB 0b324a1ae7 Init hace 2 años
ChangeLog 0b324a1ae7 Init hace 2 años
ChangeLog.jit 0b324a1ae7 Init hace 2 años
Makefile.in 0b324a1ae7 Init hace 2 años
README 0b324a1ae7 Init hace 2 años
_doprnt.c 0b324a1ae7 Init hace 2 años
acinclude.m4 0b324a1ae7 Init hace 2 años
aclocal.m4 0b324a1ae7 Init hace 2 años
alloca.c 0b324a1ae7 Init hace 2 años
argv.c 0b324a1ae7 Init hace 2 años
asprintf.c 0b324a1ae7 Init hace 2 años
at-file.texi 0b324a1ae7 Init hace 2 años
atexit.c 0b324a1ae7 Init hace 2 años
basename.c 0b324a1ae7 Init hace 2 años
bcmp.c 0b324a1ae7 Init hace 2 años
bcopy.c 0b324a1ae7 Init hace 2 años
bsearch.c 0b324a1ae7 Init hace 2 años
bsearch_r.c 0b324a1ae7 Init hace 2 años
bzero.c 0b324a1ae7 Init hace 2 años
calloc.c 0b324a1ae7 Init hace 2 años
choose-temp.c 0b324a1ae7 Init hace 2 años
clock.c 0b324a1ae7 Init hace 2 años
concat.c 0b324a1ae7 Init hace 2 años
config.h-vms 0b324a1ae7 Init hace 2 años
config.in 0b324a1ae7 Init hace 2 años
configure 0b324a1ae7 Init hace 2 años
configure.ac 0b324a1ae7 Init hace 2 años
configure.com 0b324a1ae7 Init hace 2 años
copying-lib.texi 0b324a1ae7 Init hace 2 años
copysign.c 0b324a1ae7 Init hace 2 años
cp-demangle.c 0b324a1ae7 Init hace 2 años
cp-demangle.h 0b324a1ae7 Init hace 2 años
cp-demint.c 0b324a1ae7 Init hace 2 años
cplus-dem.c 0b324a1ae7 Init hace 2 años
crc32.c 0b324a1ae7 Init hace 2 años
d-demangle.c 0b324a1ae7 Init hace 2 años
dwarfnames.c 0b324a1ae7 Init hace 2 años
dyn-string.c 0b324a1ae7 Init hace 2 años
fdmatch.c 0b324a1ae7 Init hace 2 años
ffs.c 0b324a1ae7 Init hace 2 años
fibheap.c 0b324a1ae7 Init hace 2 años
filedescriptor.c 0b324a1ae7 Init hace 2 años
filename_cmp.c 0b324a1ae7 Init hace 2 años
floatformat.c 0b324a1ae7 Init hace 2 años
fnmatch.c 0b324a1ae7 Init hace 2 años
fnmatch.txh 0b324a1ae7 Init hace 2 años
fopen_unlocked.c 0b324a1ae7 Init hace 2 años
functions.texi 0b324a1ae7 Init hace 2 años
gather-docs 0b324a1ae7 Init hace 2 años
getcwd.c 0b324a1ae7 Init hace 2 años
getopt.c 0b324a1ae7 Init hace 2 años
getopt1.c 0b324a1ae7 Init hace 2 años
getpagesize.c 0b324a1ae7 Init hace 2 años
getpwd.c 0b324a1ae7 Init hace 2 años
getruntime.c 0b324a1ae7 Init hace 2 años
gettimeofday.c 0b324a1ae7 Init hace 2 años
hashtab.c 0b324a1ae7 Init hace 2 años
hex.c 0b324a1ae7 Init hace 2 años
index.c 0b324a1ae7 Init hace 2 años
insque.c 0b324a1ae7 Init hace 2 años
lbasename.c 0b324a1ae7 Init hace 2 años
libiberty.texi 0b324a1ae7 Init hace 2 años
lrealpath.c 0b324a1ae7 Init hace 2 años
maint-tool 0b324a1ae7 Init hace 2 años
make-relative-prefix.c 0b324a1ae7 Init hace 2 años
make-temp-file.c 0b324a1ae7 Init hace 2 años
makefile.vms 0b324a1ae7 Init hace 2 años
md5.c 0b324a1ae7 Init hace 2 años
memchr.c 0b324a1ae7 Init hace 2 años
memcmp.c 0b324a1ae7 Init hace 2 años
memcpy.c 0b324a1ae7 Init hace 2 años
memmem.c 0b324a1ae7 Init hace 2 años
memmove.c 0b324a1ae7 Init hace 2 años
mempcpy.c 0b324a1ae7 Init hace 2 años
memset.c 0b324a1ae7 Init hace 2 años
mkstemps.c 0b324a1ae7 Init hace 2 años
msdos.c 0b324a1ae7 Init hace 2 años
objalloc.c 0b324a1ae7 Init hace 2 años
obstack.c 0b324a1ae7 Init hace 2 años
obstacks.texi 0b324a1ae7 Init hace 2 años
partition.c 0b324a1ae7 Init hace 2 años
pex-common.c 0b324a1ae7 Init hace 2 años
pex-common.h 0b324a1ae7 Init hace 2 años
pex-djgpp.c 0b324a1ae7 Init hace 2 años
pex-msdos.c 0b324a1ae7 Init hace 2 años
pex-one.c 0b324a1ae7 Init hace 2 años
pex-unix.c 0b324a1ae7 Init hace 2 años
pex-win32.c 0b324a1ae7 Init hace 2 años
pexecute.c 0b324a1ae7 Init hace 2 años
pexecute.txh 0b324a1ae7 Init hace 2 años
physmem.c 0b324a1ae7 Init hace 2 años
putenv.c 0b324a1ae7 Init hace 2 años
random.c 0b324a1ae7 Init hace 2 años
regex.c 0b324a1ae7 Init hace 2 años
rename.c 0b324a1ae7 Init hace 2 años
rindex.c 0b324a1ae7 Init hace 2 años
rust-demangle.c 0b324a1ae7 Init hace 2 años
safe-ctype.c 0b324a1ae7 Init hace 2 años
setenv.c 0b324a1ae7 Init hace 2 años
setproctitle.c 0b324a1ae7 Init hace 2 años
sha1.c 0b324a1ae7 Init hace 2 años
sigsetmask.c 0b324a1ae7 Init hace 2 años
simple-object-coff.c 0b324a1ae7 Init hace 2 años
simple-object-common.h 0b324a1ae7 Init hace 2 años
simple-object-elf.c 0b324a1ae7 Init hace 2 años
simple-object-mach-o.c 0b324a1ae7 Init hace 2 años
simple-object-xcoff.c 0b324a1ae7 Init hace 2 años
simple-object.c 0b324a1ae7 Init hace 2 años
simple-object.txh 0b324a1ae7 Init hace 2 años
snprintf.c 0b324a1ae7 Init hace 2 años
sort.c 0b324a1ae7 Init hace 2 años
spaces.c 0b324a1ae7 Init hace 2 años
splay-tree.c 0b324a1ae7 Init hace 2 años
stack-limit.c 0b324a1ae7 Init hace 2 años
stpcpy.c 0b324a1ae7 Init hace 2 años
stpncpy.c 0b324a1ae7 Init hace 2 años
strcasecmp.c 0b324a1ae7 Init hace 2 años
strchr.c 0b324a1ae7 Init hace 2 años
strdup.c 0b324a1ae7 Init hace 2 años
strerror.c 0b324a1ae7 Init hace 2 años
strncasecmp.c 0b324a1ae7 Init hace 2 años
strncmp.c 0b324a1ae7 Init hace 2 años
strndup.c 0b324a1ae7 Init hace 2 años
strnlen.c 0b324a1ae7 Init hace 2 años
strrchr.c 0b324a1ae7 Init hace 2 años
strsignal.c 0b324a1ae7 Init hace 2 años
strstr.c 0b324a1ae7 Init hace 2 años
strtod.c 0b324a1ae7 Init hace 2 años
strtol.c 0b324a1ae7 Init hace 2 años
strtoll.c 0b324a1ae7 Init hace 2 años
strtoul.c 0b324a1ae7 Init hace 2 años
strtoull.c 0b324a1ae7 Init hace 2 años
strverscmp.c 0b324a1ae7 Init hace 2 años
timeval-utils.c 0b324a1ae7 Init hace 2 años
tmpnam.c 0b324a1ae7 Init hace 2 años
unlink-if-ordinary.c 0b324a1ae7 Init hace 2 años
vasprintf.c 0b324a1ae7 Init hace 2 años
vfork.c 0b324a1ae7 Init hace 2 años
vfprintf.c 0b324a1ae7 Init hace 2 años
vprintf-support.c 0b324a1ae7 Init hace 2 años
vprintf-support.h 0b324a1ae7 Init hace 2 años
vprintf.c 0b324a1ae7 Init hace 2 años
vsnprintf.c 0b324a1ae7 Init hace 2 años
vsprintf.c 0b324a1ae7 Init hace 2 años
waitpid.c 0b324a1ae7 Init hace 2 años
xasprintf.c 0b324a1ae7 Init hace 2 años
xatexit.c 0b324a1ae7 Init hace 2 años
xexit.c 0b324a1ae7 Init hace 2 años
xmalloc.c 0b324a1ae7 Init hace 2 años
xmemdup.c 0b324a1ae7 Init hace 2 años
xstrdup.c 0b324a1ae7 Init hace 2 años
xstrerror.c 0b324a1ae7 Init hace 2 años
xstrndup.c 0b324a1ae7 Init hace 2 años
xvasprintf.c 0b324a1ae7 Init hace 2 años

README

This directory contains the -liberty library of free software.
It is a collection of subroutines used by various GNU programs.
Current members include:

getopt -- get options from command line
obstack -- stacks of arbitrarily-sized objects
strerror -- error message strings corresponding to errno
strtol -- string-to-long conversion
strtoul -- string-to-unsigned-long conversion

We expect many of the GNU subroutines that are floating around to
eventually arrive here.

The library must be configured from the top source directory. Don't
try to run configure in this directory. Follow the configuration
instructions in ../README.

Please report bugs to "gcc-bugs@gcc.gnu.org" and send fixes to
"gcc-patches@gcc.gnu.org". Thank you.

ADDING A NEW FILE
=================

There are two sets of files: Those that are "required" will be
included in the library for all configurations, while those
that are "optional" will be included in the library only if "needed."

To add a new required file, edit Makefile.in to add the source file
name to CFILES and the object file to REQUIRED_OFILES.

To add a new optional file, it must provide a single function, and the
name of the function must be the same as the name of the file.

* Add the source file name to CFILES in Makefile.in and the object
file to CONFIGURED_OFILES.

* Add the function to name to the funcs shell variable in
configure.ac.

* Add the function to the AC_CHECK_FUNCS lists just after the
setting of the funcs shell variable. These AC_CHECK_FUNCS calls
are never executed; they are there to make autoheader work
better.

* Consider the special cases of building libiberty; as of this
writing, the special cases are newlib and VxWorks. If a
particular special case provides the function, you do not need
to do anything. If it does not provide the function, add the
object file to LIBOBJS, and add the function name to the case
controlling whether to define HAVE_func.

Finally, in the build directory of libiberty, configure with
"--enable-maintainer-mode", run "make maint-deps" to update
Makefile.in, and run 'make stamp-functions' to regenerate
functions.texi.

The optional file you've added (e.g. getcwd.c) should compile and work
on all hosts where it is needed. It does not have to work or even
compile on hosts where it is not needed.

ADDING A NEW CONFIGURATION
==========================

On most hosts you should be able to use the scheme for automatically
figuring out which files are needed. In that case, you probably
don't need a special Makefile stub for that configuration.

If the fully automatic scheme doesn't work, you may be able to get
by with defining EXTRA_OFILES in your Makefile stub. This is
a list of object file names that should be treated as required
for this configuration - they will be included in libiberty.a,
regardless of whatever might be in the C library.