![]() |
Welcome to ftp.nluug.nl Current directory: /pub/os/NetBSD/NetBSD-release-10/src/external/gpl3/binutils/dist/libiberty/ |
|
Contents of 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. |
Name Last modified Size
Parent Directory -
CVS/ 01-Jul-2024 05:08 -
config/ 17-Dec-2022 21:32 -
COPYING.LIB 18-Aug-2009 12:16 26K
ChangeLog 04-Apr-2020 01:39 345K
ChangeLog.jit 29-Jan-2016 13:45 794
Makefile.in 04-Apr-2020 01:48 66K
README 25-Sep-2011 00:18 2.9K
_doprnt.c 04-Apr-2020 01:39 7.3K
aclocal.m4 29-Sep-2013 15:46 4.7K
alloca.c 18-Aug-2009 12:16 14K
argv.c 04-Apr-2020 01:39 14K
asprintf.c 04-Apr-2020 01:39 1.8K
at-file.texi 18-Aug-2009 12:16 732
atexit.c 18-Aug-2009 12:16 488
basename.c 18-Aug-2009 12:16 1.3K
bcmp.c 18-Aug-2009 12:16 643
bcopy.c 18-Aug-2009 12:16 694
bsearch.c 29-Sep-2013 15:46 3.7K
bzero.c 18-Aug-2009 12:16 435
calloc.c 18-Aug-2009 12:16 714
choose-temp.c 04-Apr-2020 01:39 2.0K
clock.c 04-Apr-2020 01:39 2.6K
concat.c 04-Apr-2020 01:39 4.9K
config.h-vms 25-Sep-2011 00:18 309
config.in 04-Apr-2020 01:39 15K
configure 04-Apr-2020 01:48 239K
configure.ac 04-Apr-2020 01:48 21K
configure.com 25-Sep-2011 00:18 1.1K
copying-lib.texi 04-Apr-2020 01:39 26K
copysign.c 18-Aug-2009 12:16 2.6K
cp-demangle.c 04-Apr-2020 01:39 178K
cp-demangle.h 04-Apr-2020 01:39 5.9K
cp-demint.c 04-Apr-2020 01:39 7.0K
cplus-dem.c 04-Apr-2020 01:39 12K
crc32.c 04-Apr-2020 01:39 6.4K
d-demangle.c 04-Apr-2020 01:39 38K
dwarfnames.c 04-Apr-2020 01:39 3.4K
dyn-string.c 04-Apr-2020 01:39 11K
fdmatch.c 04-Apr-2020 01:39 2.1K
ffs.c 18-Aug-2009 12:16 465
fibheap.c 04-Apr-2020 01:39 11K
filedescriptor.c 04-Apr-2020 01:39 1.3K
filename_cmp.c 04-Apr-2020 01:39 5.3K
floatformat.c 04-Apr-2020 01:48 22K
fnmatch.c 04-Apr-2020 01:39 5.3K
fnmatch.txh 29-Sep-2013 15:46 1.9K
fopen_unlocked.c 04-Apr-2020 01:39 3.4K
functions.texi 04-Apr-2020 01:39 73K
gather-docs 04-Apr-2020 01:39 3.3K
getcwd.c 18-Aug-2009 12:16 1.2K
getopt.c 04-Apr-2020 01:39 29K
getopt1.c 04-Apr-2020 01:39 4.3K
getpagesize.c 18-Aug-2009 12:16 2.0K
getpwd.c 18-Aug-2009 12:16 2.5K
getruntime.c 04-Apr-2020 01:39 3.0K
gettimeofday.c 18-Aug-2009 12:16 543
hashtab.c 04-Apr-2020 01:39 29K
hex.c 04-Apr-2020 01:39 6.8K
index.c 18-Aug-2009 12:16 448
insque.c 29-Sep-2013 15:46 1.1K
lbasename.c 04-Apr-2020 01:39 2.3K
libiberty.texi 04-Apr-2020 01:39 11K
lrealpath.c 04-Apr-2020 01:39 4.7K
maint-tool 04-Apr-2020 01:39 6.5K
make-relative-prefix.c 04-Apr-2020 01:39 11K
make-temp-file.c 04-Apr-2020 01:48 5.8K
makefile.vms 29-Jan-2016 13:45 1.0K
md5.c 04-Apr-2020 01:39 14K
memchr.c 29-Sep-2013 15:46 815
memcmp.c 29-Sep-2013 15:46 876
memcpy.c 29-Sep-2013 15:46 502
memmem.c 04-Apr-2020 01:39 2.1K
memmove.c 29-Sep-2013 15:46 533
mempcpy.c 04-Apr-2020 01:39 1.3K
memset.c 29-Sep-2013 15:46 500
mkstemps.c 04-Apr-2020 01:39 3.7K
msdos.c 18-Aug-2009 12:16 177
objalloc.c 04-Apr-2020 01:48 7.2K
obstack.c 04-Apr-2020 01:39 13K
obstacks.texi 29-Jan-2016 13:45 31K
partition.c 04-Apr-2020 01:39 4.8K
pex-common.c 04-Apr-2020 01:39 15K
pex-common.h 04-Apr-2020 01:39 6.0K
pex-djgpp.c 04-Apr-2020 01:39 6.7K
pex-msdos.c 04-Apr-2020 01:39 7.2K
pex-one.c 04-Apr-2020 01:39 1.4K
pex-unix.c 04-Apr-2020 01:39 21K
pex-win32.c 04-Apr-2020 01:39 26K
pexecute.c 04-Apr-2020 01:39 3.2K
pexecute.txh 29-Sep-2013 15:46 12K
physmem.c 04-Apr-2020 01:39 7.1K
putenv.c 04-Apr-2020 01:39 2.1K
random.c 29-Sep-2013 15:46 14K
regex.c 04-Apr-2020 01:39 253K
rename.c 18-Aug-2009 12:16 633
rindex.c 18-Aug-2009 12:16 460
rust-demangle.c 04-Apr-2020 01:39 12K
rust-demangle.h 04-Apr-2020 01:39 2.1K
safe-ctype.c 04-Apr-2020 01:39 10K
setenv.c 04-Apr-2020 01:39 4.4K
setproctitle.c 04-Apr-2020 01:39 1.4K
sha1.c 04-Apr-2020 01:39 12K
sigsetmask.c 29-Jan-2016 13:45 902
simple-object-coff.c 04-Apr-2020 01:39 23K
simple-object-common.h 04-Apr-2020 01:39 10K
simple-object-elf.c 04-Apr-2020 01:39 49K
simple-object-mach-o.c 04-Apr-2020 01:39 40K
simple-object-xcoff.c 04-Apr-2020 01:39 30K
simple-object.c 04-Apr-2020 01:39 13K
simple-object.txh 29-Sep-2013 15:46 7.5K
snprintf.c 04-Apr-2020 01:39 2.2K
sort.c 04-Apr-2020 01:39 4.8K
spaces.c 04-Apr-2020 01:39 1.8K
splay-tree.c 04-Apr-2020 01:39 16K
stack-limit.c 04-Apr-2020 01:39 2.0K
stpcpy.c 04-Apr-2020 01:39 1.3K
stpncpy.c 04-Apr-2020 01:39 1.5K
strcasecmp.c 18-Aug-2009 12:16 4.2K
strchr.c 18-Aug-2009 12:16 528
strdup.c 18-Aug-2009 12:16 562
strerror.c 04-Apr-2020 01:48 21K
strncasecmp.c 18-Aug-2009 12:16 3.4K
strncmp.c 29-Sep-2013 15:46 638
strndup.c 04-Apr-2020 01:39 1.6K
strnlen.c 29-Jan-2016 13:45 585
strrchr.c 18-Aug-2009 12:16 548
strsignal.c 04-Apr-2020 18:14 15K
strstr.c 18-Aug-2009 12:16 1.0K
strtod.c 04-Apr-2020 01:39 3.4K
strtol.c 29-Sep-2013 15:46 5.3K
strtoll.c 29-Jan-2016 13:45 5.5K
strtoul.c 18-Aug-2009 12:16 3.2K
strtoull.c 29-Jan-2016 13:45 3.4K
strverscmp.c 04-Apr-2020 01:39 5.2K
timeval-utils.c 04-Apr-2020 01:39 2.2K
tmpnam.c 18-Aug-2009 12:16 1.0K
unlink-if-ordinary.c 04-Apr-2020 01:39 2.0K
vasprintf.c 04-Apr-2020 01:39 3.3K
vfork.c 18-Aug-2009 12:16 346
vfprintf.c 04-Apr-2020 01:39 348
vprintf-support.c 04-Apr-2020 01:39 2.9K
vprintf-support.h 04-Apr-2020 01:39 1.0K
vprintf.c 29-Sep-2013 15:46 856
vsnprintf.c 04-Apr-2020 01:39 4.1K
vsprintf.c 04-Apr-2020 01:39 1.8K
waitpid.c 15-Apr-2018 00:18 868
xasprintf.c 04-Apr-2020 01:39 1.4K
xatexit.c 18-Aug-2009 12:16 2.1K
xexit.c 04-Apr-2020 01:39 1.5K
xmalloc.c 04-Apr-2020 01:39 4.6K
xmemdup.c 26-Oct-2016 19:30 1.0K
xstrdup.c 25-Sep-2011 00:18 720
xstrerror.c 18-Aug-2009 12:16 2.0K
xstrndup.c 04-Apr-2020 01:39 1.6K
xvasprintf.c 04-Apr-2020 01:39 1.8K
NLUUG - Open Systems. Open Standards
Become a member
and get discounts on conferences and more, see the NLUUG website!