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

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.