Index of /freebsd/head/contrib/gcclibs/libiberty
Name Last modified Size Description
Parent Directory 27-Sep-2011 02:19 -
xstrndup.c 27-Sep-2011 02:19 2k
xstrerror.c 27-Sep-2011 02:19 2k
xstrdup.c 27-Sep-2011 02:19 1k
xmemdup.c 27-Sep-2011 02:19 1k
xmalloc.c 27-Sep-2011 02:19 5k
xexit.c 27-Sep-2011 02:19 2k
xatexit.c 27-Sep-2011 02:19 2k
waitpid.c 27-Sep-2011 02:19 1k
vsprintf.c 27-Sep-2011 02:19 2k
vsnprintf.c 27-Sep-2011 02:19 4k
vprintf.c 27-Sep-2011 02:19 1k
vmsbuild.com 27-Sep-2011 02:19 5k
vfprintf.c 27-Sep-2011 02:19 1k
vfork.c 27-Sep-2011 02:19 1k
vasprintf.c 27-Sep-2011 02:19 5k
unlink-if-ordinary.c 27-Sep-2011 02:19 2k
tmpnam.c 27-Sep-2011 02:19 1k
testsuite/ 02-Dec-2013 04:07 -
ternary.c 27-Sep-2011 02:19 4k
strverscmp.c 27-Sep-2011 02:19 5k
strtoul.c 27-Sep-2011 02:19 3k
strtol.c 27-Sep-2011 02:19 5k
strtod.c 27-Sep-2011 02:19 3k
strstr.c 27-Sep-2011 02:19 1k
strsignal.c 02-Dec-2013 04:07 15k
strrchr.c 27-Sep-2011 02:19 1k
strndup.c 27-Sep-2011 02:19 2k
strncmp.c 27-Sep-2011 02:19 1k
strncasecmp.c 27-Sep-2011 02:19 3k
strerror.c 27-Sep-2011 02:19 21k
strdup.c 27-Sep-2011 02:19 1k
strchr.c 27-Sep-2011 02:19 1k
strcasecmp.c 27-Sep-2011 02:19 4k
stpncpy.c 27-Sep-2011 02:19 2k
stpcpy.c 27-Sep-2011 02:19 1k
splay-tree.c 27-Sep-2011 02:19 13k
spaces.c 27-Sep-2011 02:19 2k
sort.c 27-Sep-2011 02:19 5k
snprintf.c 27-Sep-2011 02:19 2k
sigsetmask.c 27-Sep-2011 02:19 1k
setenv.c 27-Sep-2011 02:19 4k
safe-ctype.c 27-Sep-2011 02:19 10k
rindex.c 27-Sep-2011 02:19 1k
rename.c 27-Sep-2011 02:19 1k
regex.c 27-Sep-2011 02:19 253k
random.c 27-Sep-2011 02:19 14k
putenv.c 27-Sep-2011 02:19 2k
physmem.c 05-Jan-2014 04:27 8k
pexecute.txh 27-Sep-2011 02:19 11k
pexecute.c 27-Sep-2011 02:19 3k
pex-win32.c 27-Sep-2011 02:19 23k
pex-unix.c 02-Dec-2013 04:07 12k
pex-one.c 27-Sep-2011 02:19 1k
pex-msdos.c 27-Sep-2011 02:19 7k
pex-djgpp.c 27-Sep-2011 02:19 7k
pex-common.h 27-Sep-2011 02:19 6k
pex-common.c 27-Sep-2011 02:19 14k
partition.c 27-Sep-2011 02:19 5k
obstacks.texi 27-Sep-2011 02:19 29k
obstack.c 27-Sep-2011 02:19 16k
objalloc.c 27-Sep-2011 02:19 7k
msdos.c 27-Sep-2011 02:19 1k
mkstemps.c 27-Sep-2011 02:19 4k
memset.c 27-Sep-2011 02:19 1k
mempcpy.c 27-Sep-2011 02:19 1k
memmove.c 27-Sep-2011 02:19 1k
memcpy.c 27-Sep-2011 02:19 1k
memcmp.c 27-Sep-2011 02:19 1k
memchr.c 27-Sep-2011 02:19 1k
md5.c 27-Sep-2011 02:19 14k
makefile.vms 27-Sep-2011 02:19 1k
make-temp-file.c 27-Sep-2011 02:19 4k
make-relative-prefix.c 27-Sep-2011 02:19 10k
maint-tool 27-Sep-2011 02:19 6k
lrealpath.c 27-Sep-2011 02:19 5k
libiberty.texi 27-Sep-2011 02:19 11k
lbasename.c 27-Sep-2011 02:19 2k
insque.c 27-Sep-2011 02:19 1k
index.c 27-Sep-2011 02:19 1k
hex.c 27-Sep-2011 02:19 7k
hashtab.c 27-Sep-2011 02:19 27k
gettimeofday.c 27-Sep-2011 02:19 1k
getruntime.c 27-Sep-2011 02:19 3k
getpwd.c 27-Sep-2011 02:19 3k
getpagesize.c 27-Sep-2011 02:19 2k
getopt1.c 27-Sep-2011 02:19 4k
getopt.c 27-Sep-2011 02:19 30k
getcwd.c 27-Sep-2011 02:19 1k
gather-docs 27-Sep-2011 02:19 3k
functions.texi 02-Dec-2013 04:07 56k
fopen_unlocked.c 27-Sep-2011 02:19 3k
fnmatch.txh 27-Sep-2011 02:19 2k
fnmatch.c 27-Sep-2011 02:19 5k
floatformat.c 02-Dec-2013 04:07 17k
fibheap.c 27-Sep-2011 02:19 11k
ffs.c 27-Sep-2011 02:19 1k
fdmatch.c 27-Sep-2011 02:19 2k
dyn-string.c 27-Sep-2011 02:19 11k
cplus-dem.c 27-Sep-2011 02:19 116k
cp-demint.c 27-Sep-2011 02:19 7k
cp-demangle.h 02-Dec-2013 04:07 5k
cp-demangle.c 02-Dec-2013 04:07 110k
copysign.c 27-Sep-2011 02:19 3k
copying-lib.texi 27-Sep-2011 02:19 26k
configure.ac 27-Sep-2011 02:19 20k
configure 27-Sep-2011 02:19 275k
config/ 27-Sep-2011 02:19 -
config.in 27-Sep-2011 02:19 12k
config.h-vms 27-Sep-2011 02:19 1k
concat.c 27-Sep-2011 02:19 6k
clock.c 27-Sep-2011 02:19 3k
choose-temp.c 02-Dec-2013 04:07 2k
calloc.c 27-Sep-2011 02:19 1k
bzero.c 27-Sep-2011 02:19 1k
bsearch.c 27-Sep-2011 02:19 4k
bcopy.c 27-Sep-2011 02:19 1k
bcmp.c 27-Sep-2011 02:19 1k
basename.c 27-Sep-2011 02:19 1k
atexit.c 27-Sep-2011 02:19 1k
at-file.texi 27-Sep-2011 02:19 1k
asprintf.c 27-Sep-2011 02:19 2k
argv.c 27-Sep-2011 02:19 12k
alloca.c 27-Sep-2011 02:19 14k
aclocal.m4 27-Sep-2011 02:19 6k
_doprnt.c 27-Sep-2011 02:19 7k
Makefile.in 06-Dec-2012 04:09 41k
ChangeLog.gcc43 02-Dec-2013 04:07 2k
ChangeLog 27-Sep-2011 02:19 244k
COPYING.LIB 27-Sep-2011 02:19 26k
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 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.
* 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.
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.