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