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