请输入您要查询的百科知识:

 

词条 GNU Libtool
释义

  1. Rationale

  2. Use

  3. Clones and derivatives

  4. See also

  5. References

  6. External links

{{Multiple issues|{{more citations needed|date=November 2010}}{{lead too short|date=November 2010}}{{context|date=November 2010}}
}}{{ infobox software
| name = GNU Libtool
| logo =
| developer = GNU Project[1]
| released = {{Start date and age|1997|07|09}}
| operating_system = Cross-platform
| genre = Library
| license = GPLv2
| website = [https://www.gnu.org/software/libtool/ gnu.org/s/libtool]
}}

GNU Libtool is a computer programming tool from the GNU build system used for creating portable compiled libraries.

Rationale

Different operating systems handle shared libraries in different ways, and 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. One way to handle this is to write conditional code, with code blocks selected by means of preprocessor directives (#ifdef); but because of the wide variety of build environments this approach quickly becomes unmanageable. The GNU build system is designed to address this problem more manageably.

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".[2] 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).[2]

Use

Libtool is typically used with Autoconf and Automake, two other tools of the GNU build system. However, it is designed so as not to be dependent upon either.[3]

Clones and derivatives

Since GNU Libtool was released, other open source projects have created drop-in replacements under different software licenses.[4]

See also

{{Portal|Free and open-source software}}
  • GNU Compiler Collection
  • GNU build system

References

1. ^{{cite web|url=http://directory.fsf.org/wiki/GNU|title=GNU|accessdate=25 June 2012}}
2. ^[https://www.gnu.org/software/libtool/manual/libtool.html Libtool Manual]
3. ^[https://www.gnu.org/software/libtool/manual/libtool.html#Other-implementations Other-implementations]
4. ^BSD-licensed libtool.

External links

  • {{official website}}
  • Autobook homepage
  • Autotools Tutorial
  • Avoiding libtool minefields when cross-compiling
  • [https://autotools.io/ Autotools Mythbuster]
{{GNU}}{{programming-software-stub}}

4 : Compiling tools|GNU Project software|Free computer libraries|Cross-platform software

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/11 23:39:56