GNU Libtool
This article needs additional citations for verification. (November 2010) |
| GNU Libtool | |
|---|---|
| Developer | GNU Project[1] |
| Initial release | July 9, 1997 |
| Stable release | 2.5.3 (September 25, 2024[2]) [±] |
| Repository |
|
| Engine | |
| Operating system | Cross-platform |
| Type | Library |
| License | GPLv2 |
| Website | www |
GNU Libtool is a software development tool, part of the GNU build system, consisting of a shell script[3] created to address the software portability problem when compiling shared libraries from source code. It hides the differences between computing platforms for the commands which compile shared libraries.[4] It provides a command-line interface that is identical across platforms and it executes the platform's native commands, allowing software authors to offer build support for their code across many diverse platforms such as Linux, BSD variants, Windows (via Cygwin), HP-UX, Solaris (including on SPARC processors), AIX, and IRIX.[5]
Rationale
[edit | edit source]Different operating systems handle shared libraries differently. Some platforms do not use shared libraries at all. It can be difficult to make a software program portable: the C compiler differs from system to system; certain library functions are missing on some systems; header files may have different names.
Libtool helps manage the creation of static and dynamic libraries on various Unix-like operating systems. Libtool accomplishes this by abstracting the library-creation process, hiding differences between various systems (e.g. Linux systems vs. Solaris).
GNU Libtool is designed to simplify the process of compiling a computer program on a new system, by "encapsulating both the platform-specific dependencies, and the user interface, in a single script". [6] When porting a program to a new system, Libtool is designed so the porter need not read low-level documentation for the shared libraries to be built, rather just run a configure script (or equivalent). [6]
Use
[edit | edit source]Libtool is used by Autoconf and Automake, two other portability tools in the GNU build system. It can also be used directly. [7]
Clones and derivatives
[edit | edit source]Since GNU Libtool was released, other free software projects have created drop-in replacements under different software licenses.[8] slibtool is one such implementation.[9]
See also
[edit | edit source]Lua error in mw.title.lua at line 392: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').
- GNU Compiler Collection – Free and open-source compiler for various programming languages
- pkg-config – Software development tool for querying library dependency information
References
[edit | edit source]- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ a b Libtool Manual
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ BSD-licensed libtool.
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
External links
[edit | edit source]- Lua error in Module:Official_website at line 94: attempt to index field 'wikibase' (a nil value).
- Autobook homepage Archived 2010-12-20 at the Wayback Machine
- Autotools Tutorial
- Avoiding libtool minefields when cross-compiling Archived 2009-03-28 at the Wayback Machine
- Autotools Mythbuster
Lua error in mw.title.lua at line 392: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').