skip to content »

Updating libtool

Ranlib adds or updates the table of contents to each archive so it can be linked by the link editor, ld(1) .

updating libtool-44updating libtool-42

Other release points will be updated as time permits. Second release candidate for getdns-1.1.0 2017-04-06 Fixes for things uncovered during IETF98 Hackathon. getdns-1.0.0 release 2017-01-17 First spec complete implementation of getdns. getdns-1.0.0b2 release 2016-07-14 Really 100% spec complete.This option causes libtool to build a library only for the specified arch_type and ignores all other architectures in the input files.When building a dynamic library, if this is specified with a specific cpusubtype other than the family cpusubtype then libtool it does not use the ld(1) -force_cpusubtype_ALL flag and passes the -arch_only argument to ld(1) as the -arch flag so that the output is tagged with that cpusubtype.Because ranlib rewrites the archive, sufficient temporary file space must be available in the file system that contains the current directory.Ranlib takes all correct forms of libraries (fat files containing archives, and simple archives) and updates the table of contents for all archives in the file.For dynamic shared library files this specifies the current version number of the library. Z]] where X must be a positive nonzero number less than or equal to 65535, and . Z are optional and if present must be non-negative numbers less than or equal to 255. For dynamic shared library files this specifies the the default behavior of loading all members of archives on the command line is not to be done.

The program using the library can obtain the current version of the library programmatically to determine exactly which version of the library it is using. This option is used by the GNU compiler driver, cc(1) , when used with it's -dynamiclib option.

The libtool command takes the specified input object files and creates a library for use with the link editor, ld(1) .

The library's name is specified by output (the argument to the -o flag).

Produce the preferred type of table of contents, which results in faster link editing when linking with the archive.

The order of the table of contents is sorted by symbol name.

-arch_errors_fatal, -dylib_file, -run_init_lazily, -final_output, -multiply_defined, -multiply_defined_unused, -twolevel_namespace, -twolevel_namespace_hints, -flat_namespace, -nomultidefs, -headerpad, -headerpad_max_install_names, -M, -no_arch_warnings, -single_module, -multi_module, -exported_symbols_list, -unexported_symbols_list, -m. The file names are listed one per line separated only by newlines (spaces and tabs are assumed to be part of the file name).