HTTPS clone URL
Subversion checkout URL
aldyh/cilk-in-gomp aldyh/cilk-simd-merge aldyh/cilkplus-simd-rewrite aldyh/debug-early aldyh/test1 aldyh/uninst aldyh/uninst-2 aoliva/libcp1 aoliva/pr64164 aoliva/pr64164-copy-byref-incoming apinski/bytewiseunop apinski/thunderx-cost archer-expr-plugin asan asutton/c++-concepts asutton/fold avx2 balaji/cilkplus-merge bkoz/gsoc-regex bviyer/cilkplus-multilib-test cilkplus cilkplus-4_7-branch cilkplus-4_8-branch cilkplus-merge constexpr ctice/vtv cxx-conversion cxx-mem-model dmalcolm/gimple-classes dmalcolm/jit dnovillo/cxx-conversion dnovillo/vec-rewrite dodji/abi-instr dodji/asan-merge-assemble fortran-dev gc-improv gcc-4_0-branch gcc-4_1-branch gcc-4_2-branch gcc-4_3-branch gcc-4_4-branch gcc-4_5-branch gcc-4_6-branch gcc-4_7-branch gcc-4_8-branch gcc-4_9-branch gcc-5-branch gccgo gccpy gccrs gimple-classes-v2-option-3 gimple-front-end google/debugfission graphite hjl/67029/master hjl/arch hjl/asan hjl/gcc-4_7-branch/pr53768 hjl/gold/gcc-4_6-branch hjl/gold/gcc-4_7-branch hjl/gold/gcc-4_8-branch hjl/gold/master hjl/iamcu/gcc-4_9-branch hjl/iamcu/gcc-5-branch hjl/iamcu/improve hjl/iamcu/master hjl/indbr/gcc-5-branch hjl/indbr/master hjl/libsanitizer hjl/lra hjl/no-plt hjl/pie/gcc-4_9-branch hjl/pie/master hjl/pr32219/master hjl/pr35514 hjl/pr53623/gcc-4_8-branch hjl/pr54037 hjl/pr58066/gcc-5-branch hjl/pr59971 hjl/pr61954/master hjl/pr65612 hjl/pr65780/gcc-5-branch hjl/pr65780/master hjl/pr65846/gcc-5-branch hjl/pr65846/master hjl/pr66250 hjl/pr66334 hjl/pr66960 hjl/pr67029/gcc-5-branch hjl/pr67215/gcc-5-branch hjl/pr67215/master hjl/skip-rax/gcc-4_8-branch hjl/skip-rax/gcc-4_9-branch hjl/subreg hjl/subreg-class hjl/tsx/gcc-4_7-branch hjl/tune/cost-sched hjl/x32/ada hjl/x32/addr32 hjl/x32/gcc-4_6-branch hjl/x32/gcc-4_6-branch+ada+java+go hjl/x32/gcc-4_6-branch+mx32 hjl/x32/gcc-4_7-branch hjl/x32/gcc-4_8-branch hjl/x32/go hjl/x32/java hjl/x32/longmode hjl/x32/mx32 hjl/x86/gcc-4_8-branch hjl/x86/m16 hsa ienkovic/mpx ifunc jason/4.6-cxx0x jason/alias-decl jason/comdat-debug jason/tag-inherit kyukhin/gomp4-offload linaro-dev/sched-model-prefetch linaro-dev/type-promotion-pass linaro/gcc-4_8-branch linaro/gcc-4_9-branch linaro/gcc-5-branch lw-ipo master melt-branch microblaze pinskia/bytewiseunop pinskia/newtreefold pinskia/treecombine pph profile-stdlib python redi/filesystem-ts reload-v2a split spu-4_5-branch sterling/google-accel-tables-4_7 tbsaunde/bitmap transactional-memory tromey/auto-dependency-checking trunk tschwinge/t/hurd/go ubsan vect256 vehre/base vehre/head_cosmo vtv x32
Nothing to show
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time
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 "email@example.com" and send fixes to "firstname.lastname@example.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.