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