<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=GNU_Libtool</id>
	<title>GNU Libtool - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=GNU_Libtool"/>
	<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=GNU_Libtool&amp;action=history"/>
	<updated>2026-07-16T02:33:24Z</updated>
	<subtitle>在这个wiki上该页的修订历史</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://arolstar52-zhtest.hf.space/index.php?title=GNU_Libtool&amp;diff=488186&amp;oldid=prev</id>
		<title>imported&gt;Ohtashinichiro：​/* 外部連結 */</title>
		<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=GNU_Libtool&amp;diff=488186&amp;oldid=prev"/>
		<updated>2026-02-10T02:32:35Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;外部連結&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{noteTA&lt;br /&gt;
|G1=IT&lt;br /&gt;
|G2=FL&lt;br /&gt;
}}&lt;br /&gt;
{{Infobox_Software&lt;br /&gt;
|name = GNU Libtool&lt;br /&gt;
|logo = Libtool.jpg&lt;br /&gt;
|logo size = 260px&lt;br /&gt;
|developer = [[GNU計劃]]&lt;br /&gt;
|latest_release_version = &lt;br /&gt;
|latest_release_date = &lt;br /&gt;
|operating_system = [[跨平台]]&lt;br /&gt;
|genre = [[函式庫]]&lt;br /&gt;
|license = [[GNU通用公共許可證|GPLv2]]&lt;br /&gt;
|website = https://www.gnu.org/software/libtool/&lt;br /&gt;
}}&lt;br /&gt;
在[[计算机编程]]中，&amp;#039;&amp;#039;&amp;#039;GNU Libtool&amp;#039;&amp;#039;&amp;#039;是一个[[软件开发]]工具，它是[[GNU构建系统]]的一部份，由一个[[shell脚本]]组成&amp;lt;ref name=&amp;quot;libtool is a shell script&amp;quot;&amp;gt;{{cite book |author=&amp;lt;!--Staff writer(s); no by-line.--&amp;gt; |title=The GNU Libtool manual |url=https://www.gnu.org/software/libtool/manual/libtool.html#Postmortem |date=2015-02-15 |publisher=The GNU project |chapter=A postmortem analysis of other implementations |chapter-url=https://www.gnu.org/software/libtool/manual/html_node/Postmortem.html |accessdate=2021-02-02 |archive-date=2024-12-28 |archive-url=https://web.archive.org/web/20241228095904/https://www.gnu.org/software/libtool/manual/libtool.html#Postmortem |dead-url=no }}&amp;lt;/ref&amp;gt;，创建它是致力于解决从[[源代码]][[编译]][[共享库]]时的[[软件可移植性]]问题。它[[抽象化 (計算機科學)|隐藏]]了编译共享库的命令在[[计算平台]]之间的不同&amp;lt;ref name=&amp;quot;libtool: portability via abstraction&amp;quot;&amp;gt;{{cite book |author=&amp;lt;!--Staff writer(s); no by-line.--&amp;gt; |title=The GNU Libtool manual |url=https://www.gnu.org/software/libtool/manual/libtool.html#Introduction |date=2015-02-15 |publisher=The GNU project |chapter=Introduction |chapter-url=https://www.gnu.org/software/libtool/manual/html_node/Introduction.html |accessdate=2021-02-02 |archive-date=2024-12-28 |archive-url=https://web.archive.org/web/20241228095904/https://www.gnu.org/software/libtool/manual/libtool.html#Introduction |dead-url=no }}&amp;lt;/ref&amp;gt;。它提供了跨平台同一的一个[[命令行界面]]并且它执行这个平台的本地命令。&lt;br /&gt;
&lt;br /&gt;
== 原理 ==&lt;br /&gt;
&lt;br /&gt;
不同的[[操作系统]]以不同方式处理[[共享库]]。有些平台根本就不使用共享库。这使得难以让软件程序可移植：C编译器随系统不同而不同，特定库函数在某些系统上缺失，头文件可能有不同的名字。&lt;br /&gt;
&lt;br /&gt;
Libtool帮助管理在各种[[类Unix系统|类Unix]]操作系统上的[[静态库|静态]]和[[动态链接库|动态]][[函数库|库]]的创建。Libtool通过抽象库的创建过程、隐藏在各种系统之间的区别来完成它。&lt;br /&gt;
&lt;br /&gt;
GNU Libtool通过“封装特定于平台的依赖和用户界面二者在一个单一脚本中”，在设计上简化了在新系统上编译计算机程序的过程&amp;lt;ref name=&amp;quot;Libtool manual&amp;quot;&amp;gt;{{Cite web |url=https://www.gnu.org/software/libtool/manual/libtool.html |title=Libtool Manual |access-date=2024-10-04 |archive-date=2024-12-28 |archive-url=https://web.archive.org/web/20241228095904/https://www.gnu.org/software/libtool/manual/libtool.html |dead-url=no }}&amp;lt;/ref&amp;gt;。在移植一个程序到一个新系统之时，Libtool在设计上能让移植者不需要阅读所要建造的共享库的底层文档，而只是运行一个“配置”脚本（或等价者）&amp;lt;ref name=&amp;quot;Libtool manual&amp;quot; /&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
== 使用 ==&lt;br /&gt;
&lt;br /&gt;
Libtool是经由[[Autoconf]]和[[Automake]]来使用的，它们是GNU构建系统中另外两个可移植性工具。它也可以直接使用&amp;lt;ref name=&amp;quot;automake uses libtool&amp;quot;&amp;gt;{{cite book |author=&amp;lt;!--Staff writer(s); no by-line.--&amp;gt; |title=The GNU Libtool manual |url=https://www.gnu.org/software/libtool/manual/libtool.html#Makefile-rules |date=2015-02-15 |publisher=The GNU project |chapter=Writing Makefile rules for libtool |chapter-url=https://www.gnu.org/software/libtool/manual/html_node/Makefile-rules.html |accessdate=2021-02-02 |archive-date=2024-12-28 |archive-url=https://web.archive.org/web/20241228095904/https://www.gnu.org/software/libtool/manual/libtool.html#Makefile-rules |dead-url=no }}&amp;lt;/ref&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
== 克隆和派生 ==&lt;br /&gt;
&lt;br /&gt;
自从GNU Libtool发行后，其他[[自由软件]]项目已经尝试在不同[[软件许可证]]下创立它的直截了当替代者&amp;lt;ref name=&amp;quot;BSD-licensed libtool&amp;quot;&amp;gt;[http://BXR.SU/OpenBSD/usr.bin/libtool/ BSD-licensed libtool] {{Wayback|url=http://bxr.su/OpenBSD/usr.bin/libtool/ |date=20150113004820 }}.&amp;lt;/ref&amp;gt;，比如slibtool&amp;lt;ref&amp;gt;{{Cite web |url=https://git.foss21.org/slibtool |title=slibtool |access-date=2024-10-04 |archive-date=2024-12-14 |archive-url=https://web.archive.org/web/20241214213026/https://git.foss21.org/slibtool |dead-url=no }}&amp;lt;/ref&amp;gt;就是这种实现&amp;lt;ref&amp;gt;{{Cite web |title=Slibtool - Gentoo wiki |url=https://wiki.gentoo.org/wiki/Slibtool |access-date=2024-03-11 |website=wiki.gentoo.org |archive-date=2024-10-08 |archive-url=https://web.archive.org/web/20241008023126/https://wiki.gentoo.org/wiki/Slibtool |dead-url=no }}&amp;lt;/ref&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
== 參見 ==&lt;br /&gt;
{{Portalpar|自由軟體}}&lt;br /&gt;
*[[GCC|GNU編譯器套裝]]&lt;br /&gt;
*[[GNU构建系统]]&lt;br /&gt;
*[[pkg-config]]&lt;br /&gt;
&lt;br /&gt;
==引用==&lt;br /&gt;
{{reflist|2}}&lt;br /&gt;
&lt;br /&gt;
== 外部連結 ==&lt;br /&gt;
*[http://www.gnu.org/software/libtool/ GNU Libtool首頁] {{Wayback|url=http://www.gnu.org/software/libtool/ |date=20210118170522 }}&lt;br /&gt;
*[http://www.gnu.org/software/libtool/manual/ Libtool英文手冊] {{Wayback|url=http://www.gnu.org/software/libtool/manual/ |date=20210126062921 }}&lt;br /&gt;
*[http://sources.redhat.com/autobook/ Autobook首頁] {{Wayback|url=http://sources.redhat.com/autobook/ |date=20101220095404 }}&lt;br /&gt;
*&amp;quot;[http://www.lrde.epita.fr/~adl/autotools.html Autotools教學] {{Wayback|url=http://www.lrde.epita.fr/~adl/autotools.html |date=20101227173311 }}&amp;quot;，[[Alexandre Duret-Lutz]]著，介紹[[Autoconf]]、[[Automake]]、&amp;#039;&amp;#039;&amp;#039;Libtool&amp;#039;&amp;#039;&amp;#039;與[[Gettext]]&lt;br /&gt;
* [http://www.ibm.com/developerworks/cn/aix/library/1007_wuxh_libtool/index.html 使用Libtool创建库] {{Wayback|url=http://www.ibm.com/developerworks/cn/aix/library/1007_wuxh_libtool/index.html |date=20160807053005 }}&lt;br /&gt;
&lt;br /&gt;
{{GNU}}&lt;br /&gt;
&lt;br /&gt;
[[Category:編譯工具]]&lt;br /&gt;
[[Category:GNU计划软件|Libtool]]&lt;br /&gt;
[[Category:自由發展元件與函式庫]]&lt;br /&gt;
[[Category:跨平台軟體]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Ohtashinichiro</name></author>
	</entry>
</feed>