Software:GNU Libtool
Developer(s) | GNU Project[1] |
---|---|
Initial release | July 9, 1997 |
Stable release | 2.4.7 (March 24, 2022[2]) [±] |
Operating system | Cross-platform |
Type | Library |
License | GPLv2 |
Website | www |
In computer programming, 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.
Rationale
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". [5] 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). [5]
Use
Libtool is used by Autoconf and Automake, two other portability tools in the GNU build system. It can also be used directly. [6]
Clones and derivatives
Since GNU Libtool was released, other free software projects have created drop-in replacements under different software licenses.[7]
See also
- GNU Compiler Collection
- GNU build system
- pkg-config
References
- ↑ "GNU". http://directory.fsf.org/wiki/GNU. Retrieved 25 June 2012.
- ↑ Gary V. Vaughan (24 March 2022). "GNU Libtool - News: libtool-2.4.7 released [stable]". Software:savannah.gnu.org. https://lists.gnu.org/archive/html/autotools-announce/2022-03/msg00000.html.
- ↑ "A postmortem analysis of other implementations". The GNU Libtool manual. The GNU project. 2015-02-15. https://www.gnu.org/software/libtool/manual/html_node/Postmortem.html. Retrieved 2021-02-02.
- ↑ "Introduction". The GNU Libtool manual. The GNU project. 2015-02-15. https://www.gnu.org/software/libtool/manual/html_node/Introduction.html. Retrieved 2021-02-02.
- ↑ 5.0 5.1 Libtool Manual
- ↑ "Writing Makefile rules for libtool". The GNU Libtool manual. The GNU project. 2015-02-15. https://www.gnu.org/software/libtool/manual/html_node/Makefile-rules.html. Retrieved 2021-02-02.
- ↑ BSD-licensed libtool.
External links
- Autobook homepage
- Autotools Tutorial
- Avoiding libtool minefields when cross-compiling
- Autotools Mythbuster
Original source: https://en.wikipedia.org/wiki/GNU Libtool.
Read more |