Welcome to ftp.nluug.nl Current directory: /NetBSD/NetBSD-current/src/external/gpl3/gdb/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 https://gcc.gnu.org/bugzilla/ 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/ 13-Aug-2024 05:01 - config/ 25-Sep-2011 05:02 - testsuite/ 13-Aug-2024 05:01 - COPYING.LIB 24-Sep-2011 21:49 26K ChangeLog 13-Aug-2024 05:01 375K ChangeLog.jit 15-Aug-2015 12:22 794 Makefile.in 13-Aug-2024 05:01 67K README 13-Aug-2024 05:01 2.9K _doprnt.c 13-Aug-2024 05:01 7.3K acinclude.m4 13-Aug-2024 05:01 5.3K aclocal.m4 13-Aug-2024 05:01 1.0K alloca.c 31-Jul-2023 05:01 14K argv.c 13-Aug-2024 05:01 14K asprintf.c 13-Aug-2024 05:01 1.8K at-file.texi 24-Sep-2011 21:49 732 atexit.c 24-Sep-2011 21:49 488 basename.c 24-Sep-2011 21:49 1.3K bcmp.c 24-Sep-2011 21:49 643 bcopy.c 24-Sep-2011 21:49 694 bsearch.c 15-Sep-2020 05:02 3.7K bsearch_r.c 15-Sep-2020 03:44 3.8K bzero.c 24-Sep-2011 21:49 435 calloc.c 31-Jul-2023 05:01 722 choose-temp.c 13-Aug-2024 05:01 2.0K clock.c 13-Aug-2024 05:01 2.6K concat.c 13-Aug-2024 05:01 4.9K config.h-vms 24-Sep-2011 21:49 309 config.in 13-Aug-2024 05:01 16K configure 13-Aug-2024 05:01 252K configure.ac 13-Aug-2024 05:01 23K configure.com 24-Sep-2011 21:49 1.1K copying-lib.texi 13-Aug-2024 05:01 26K copysign.c 24-Sep-2011 21:49 2.6K cp-demangle.c 13-Aug-2024 05:01 194K cp-demangle.h 13-Aug-2024 05:01 6.0K cp-demint.c 13-Aug-2024 05:01 7.0K cplus-dem.c 13-Aug-2024 05:01 12K crc32.c 13-Aug-2024 05:01 6.4K d-demangle.c 13-Aug-2024 05:01 47K dwarfnames.c 13-Aug-2024 05:01 3.7K dyn-string.c 13-Aug-2024 05:01 11K fdmatch.c 13-Aug-2024 05:01 2.1K ffs.c 24-Sep-2011 21:49 465 fibheap.c 13-Aug-2024 05:01 11K filedescriptor.c 13-Aug-2024 05:01 1.3K filename_cmp.c 13-Aug-2024 05:01 5.3K floatformat.c 13-Aug-2024 05:01 22K fnmatch.c 13-Aug-2024 05:01 5.3K fnmatch.txh 24-Sep-2011 21:49 1.9K fopen_unlocked.c 13-Aug-2024 05:01 3.4K functions.texi 13-Aug-2024 05:01 74K gather-docs 13-Aug-2024 05:01 3.3K getcwd.c 24-Sep-2011 21:49 1.2K getopt.c 13-Aug-2024 05:01 29K getopt1.c 13-Aug-2024 05:01 4.3K getpagesize.c 24-Sep-2011 21:49 2.0K getpwd.c 24-Sep-2011 21:49 2.5K getruntime.c 13-Aug-2024 05:01 3.0K gettimeofday.c 24-Sep-2011 21:49 543 hashtab.c 13-Aug-2024 05:01 29K hex.c 13-Aug-2024 05:01 6.8K index.c 24-Sep-2011 21:49 448 insque.c 24-Sep-2011 21:49 1.1K lbasename.c 13-Aug-2024 05:01 2.3K libiberty.texi 13-Aug-2024 05:01 11K lrealpath.c 13-Aug-2024 05:01 8.1K maint-tool 13-Aug-2024 05:01 6.5K make-relative-prefix.c 13-Aug-2024 05:01 11K make-temp-file.c 13-Aug-2024 05:01 5.9K makefile.vms 23-Jun-2014 05:05 1.0K md5.c 13-Aug-2024 05:01 14K memchr.c 31-Jul-2023 05:01 823 memcmp.c 31-Jul-2023 05:01 880 memcpy.c 31-Jul-2023 05:01 509 memmem.c 13-Aug-2024 05:01 2.1K memmove.c 31-Jul-2023 05:01 540 mempcpy.c 13-Aug-2024 05:01 1.3K memset.c 31-Jul-2023 05:01 505 mkstemps.c 13-Aug-2024 05:01 3.7K msdos.c 24-Sep-2011 21:49 177 objalloc.c 13-Aug-2024 05:01 7.2K obstack.c 13-Aug-2024 05:01 13K obstacks.texi 13-Aug-2024 05:01 30K partition.c 13-Aug-2024 05:01 4.8K pex-common.c 13-Aug-2024 05:01 15K pex-common.h 13-Aug-2024 05:01 6.0K pex-djgpp.c 13-Aug-2024 05:01 6.7K pex-msdos.c 13-Aug-2024 05:01 7.2K pex-one.c 13-Aug-2024 05:01 1.4K pex-unix.c 13-Aug-2024 05:01 24K pex-win32.c 13-Aug-2024 05:01 27K pexecute.c 13-Aug-2024 05:01 3.2K pexecute.txh 24-Sep-2011 21:49 12K physmem.c 13-Aug-2024 05:01 7.1K putenv.c 13-Aug-2024 05:01 2.1K random.c 31-Jul-2023 05:01 14K regex.c 13-Aug-2024 05:01 253K rename.c 24-Sep-2011 21:50 633 rindex.c 24-Sep-2011 21:50 460 rust-demangle.c 13-Aug-2024 05:01 35K safe-ctype.c 13-Aug-2024 05:01 10K setenv.c 13-Aug-2024 05:01 4.4K setproctitle.c 13-Aug-2024 05:01 1.4K sha1.c 13-Aug-2024 05:01 21K sigsetmask.c 16-Aug-2015 06:53 902 simple-object-coff.c 13-Aug-2024 05:01 23K simple-object-common.h 13-Aug-2024 05:01 10K simple-object-elf.c 13-Aug-2024 05:01 49K simple-object-mach-o.c 13-Aug-2024 05:01 40K simple-object-xcoff.c 13-Aug-2024 05:01 30K simple-object.c 13-Aug-2024 05:01 14K simple-object.txh 24-Sep-2011 21:50 7.5K snprintf.c 13-Aug-2024 05:01 2.2K sort.c 13-Aug-2024 05:01 4.8K spaces.c 13-Aug-2024 05:01 1.8K splay-tree.c 13-Aug-2024 05:01 16K stack-limit.c 13-Aug-2024 05:01 2.0K stpcpy.c 13-Aug-2024 05:01 1.4K stpncpy.c 13-Aug-2024 05:01 1.5K strcasecmp.c 24-Sep-2011 21:50 4.2K strchr.c 24-Sep-2011 21:50 528 strdup.c 31-Jul-2023 05:01 572 strerror.c 01-Aug-2023 05:01 21K strncasecmp.c 24-Sep-2011 21:50 3.4K strncmp.c 24-Sep-2011 21:50 638 strndup.c 13-Aug-2024 05:01 1.6K strnlen.c 03-Oct-2013 17:49 585 strrchr.c 24-Sep-2011 21:50 548 strsignal.c 31-Jul-2023 05:01 15K strstr.c 13-Aug-2024 05:01 953 strtod.c 13-Aug-2024 05:01 3.4K strtol.c 24-Sep-2011 21:50 5.3K strtoll.c 15-Aug-2015 12:23 5.5K strtoul.c 24-Sep-2011 21:50 3.2K strtoull.c 15-Aug-2015 12:23 3.4K strverscmp.c 13-Aug-2024 05:01 5.2K timeval-utils.c 13-Aug-2024 05:01 2.2K tmpnam.c 24-Sep-2011 21:50 1.0K unlink-if-ordinary.c 13-Aug-2024 05:01 2.0K vasprintf.c 13-Aug-2024 05:01 3.3K vfork.c 24-Sep-2011 21:50 346 vfprintf.c 13-Aug-2024 05:01 348 vprintf-support.c 13-Aug-2024 05:01 2.9K vprintf-support.h 13-Aug-2024 05:01 1.0K vprintf.c 24-Sep-2011 21:50 856 vsnprintf.c 13-Aug-2024 05:01 4.1K vsprintf.c 13-Aug-2024 05:01 1.8K waitpid.c 29-Nov-2017 04:01 868 xasprintf.c 13-Aug-2024 05:01 1.4K xatexit.c 31-Jul-2023 05:01 2.1K xexit.c 13-Aug-2024 05:01 1.5K xmalloc.c 13-Aug-2024 05:01 4.6K xmemdup.c 31-Jul-2023 05:01 1.0K xstrdup.c 24-Sep-2011 21:50 720 xstrerror.c 24-Sep-2011 21:50 2.0K xstrndup.c 13-Aug-2024 05:01 1.6K xvasprintf.c 13-Aug-2024 05:01 1.8K
NLUUG - Open Systems. Open Standards
Become a member
and get discounts on conferences and more, see the NLUUG website!