Update of /cvsroot/fink/web/doc/porting In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19435/web/doc/porting
Modified Files: basics.en.php basics.fr.php basics.zh.php header.en.inc header.fr.inc header.zh.inc index.en.php index.fr.php index.zh.php libtool.en.php libtool.fr.php libtool.zh.php porting.en.html porting.fr.html porting.zh.html shared.en.php shared.fr.php shared.zh.php Added Files: preparing-10.2.en.php preparing-10.2.fr.php preparing-10.2.php preparing-10.2.zh.php preparing-10.3.en.php preparing-10.3.fr.php preparing-10.3.php preparing-10.3.zh.php Removed Files: preparing.php preparing.en.php preparing.fr.php preparing.ja.php preparing.zh.php Log Message: Chapter structure changes --- preparing.php DELETED --- --- NEW FILE: preparing-10.2.fr.php --- (This appears to be a binary file; contents omitted.) --- NEW FILE: preparing-10.2.en.php --- <? $title = "Porting - Preparing for 10.2"; $cvs_author = 'Author: dmacks'; $cvs_date = 'Date: 2005/03/16 18:01:32'; $metatags = '<link rel="contents" href="index.php?phpLang=en" title="Porting Contents"><link rel="next" href="preparing-10.3.php?phpLang=en" title="Preparing for 10.3"><link rel="prev" href="libtool.php?phpLang=en" title="GNU libtool">'; include_once "header.en.inc"; ?> <h1>Porting - 4. Preparing for 10.2</h1> <h2><a name="bash">4.1 The bash shell</a></h2> <p> Fink made the transition from OS X 10.0 to OS X 10.1 fairly easily, thanks in part to planning ahead for the changes that were coming. We will try to do the same for the next transition, but not many details are known yet. </p> <p> We understand that OS X 10.2 will use bash rather than zsh to provide <code>/bin/sh</code> functionality. This has at least three implications for fink. </p> <ul><li> In the past, some fink packages created a CompileScript (or PatchScript or InstallScript) which does nothing by simply putting a semicolon in the script. This does not work under bash, and must be replaced by something like <pre> CompileScript: echo "nothing to do" </pre> </li> <li> In the past, some fink packages used a the <code>lib(foo|bar).dylib</code> construction to refer to two libraries at once; this doesn't work under bash (and the bash alternative <code>lib{foo,bar}.dylib</code> doesn't work under zsh). Solution: write out the names in full. </li> <li> A libtool patch is needed in many cases, to prevent libraries from being build unversioned under bash. <b> Note: you do not need this patch with libtool-1.3.5, for example, if you are using UpdateLibtool: True. </b> The symptom: when building under bash, you see <pre> ../libtool: test: too many arguments </pre> When this happens, <code>configure</code> contains the following: <pre> archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)' </pre> Here is a patch (but it must be used with care, because sometimes there are other libtool problems as well so this patch must be applied by hand): <pre> diff -Naur gdk-pixbuf-0.16.0/configure gp-new/configure --- gdk-pixbuf-0.16.0/configure 2002-01-22 20:11:48.000000000 -0500 +++ gp-new/configure 2002-05-10 03:02:44.000000000 -0400 @@ -3338,7 +3338,7 @@ # FIXME: Relying on posixy $() will cause problems for # cross-compilation, but unfortunately the echo tests do not # yet detect zsh echo's removal of \ escapes. - archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)' + archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $tmp_verstring' # We need to add '_' to the symbols in $export_symbols first #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' hardcode_direct=yes diff -Naur gdk-pixbuf-0.16.0/ltmain.sh gp-new/ltmain.sh --- gdk-pixbuf-0.16.0/ltmain.sh 2002-01-22 20:11:43.000000000 -0500 +++ gp-new/ltmain.sh 2002-05-10 03:04:49.000000000 -0400 @@ -2862,6 +2862,11 @@ if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval cmds=\"$archive_expsym_cmds\" else + if test "x$verstring" = "x0.0"; then + tmp_verstring= + else + tmp_verstring="$verstring" + fi eval cmds=\"$archive_cmds\" fi IFS="${IFS= }"; save_ifs="$IFS"; IFS='~' </pre> </li> </ul> <h2><a name="gcc3">4.2 The gcc3 compiler</a></h2> <p>Mac OS X 10.2 uses the gcc3 compiler.</p> <p>Some packages which have loadable modules and use libtool fail with an install_name error, because libtool passes the -install_name flag even along with the -bundle flag (when it is not strictly needed). This behavior was accepted by the gcc2 compiler but is not being accepted by the gcc3 compiler. The fix can be found<a href="http://www.mail-archive.com/fink-devel@lists.sourceforge.net/msg02025.html">here.</a> Note that you do not need the patch if your package uses libtool-1.3.5 (for example, if you are using <code>UpdateLibtool: True</code>) since it has already been incorporated into a revised version of fink's ltconfig file (available in pre-release versions of fink). </p> <p>Another issue with the gcc3 compiler is an incompatibility for C++ ABIs between gcc2 and gcc3. In practice, this means that C++ programs compiled with gcc3 cannot link to libraries compiled with gcc2.</p> <p align="right"><? echo FINK_NEXT ; ?>: <a href="preparing-10.3.php?phpLang=en">5. Preparing for 10.3</a></p> <? include_once "../../footer.inc"; ?> Index: basics.zh.php =================================================================== RCS file: /cvsroot/fink/web/doc/porting/basics.zh.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- basics.zh.php 19 Sep 2004 23:38:07 -0000 1.4 +++ basics.zh.php 16 Mar 2005 18:13:58 -0000 1.5 @@ -1,7 +1,7 @@ <? $title = "移植 - 基本知识"; -$cvs_author = 'Author: jeff_yecn'; -$cvs_date = 'Date: 2004/03/12 15:06:20'; +$cvs_author = 'Author: dmacks'; +$cvs_date = 'Date: 2005/03/16 18:01:45'; $metatags = '<link rel="contents" href="index.php?phpLang=zh" title="移植 Contents"><link rel="next" href="shared.php?phpLang=zh" title="共享代码"><link rel="prev" href="index.php?phpLang=zh" title="移植 Contents">'; --- preparing.en.php DELETED --- --- preparing.zh.php DELETED --- Index: porting.zh.html =================================================================== RCS file: /cvsroot/fink/web/doc/porting/porting.zh.html,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- porting.zh.html 2 Jan 2005 15:31:00 -0000 1.5 +++ porting.zh.html 16 Mar 2005 18:13:58 -0000 1.6 @@ -14,7 +14,7 @@ <p>本文档包含如何移植 Unix 软件到 Darwin 和 Mac OS X 平台上的提示。 这里的信息适用于 Mac OS X 10.0.x 和 Darwin 1.3.x。 这两种操作系统我们都用 Darwin 来指代,因为 Mac OS X 实际上只是 Darwin 的一个超集。</p> - <h2>Contents</h2><ul><li><a href="#basics"><b>1 基本知识</b></a><ul><li><a href="#basics.heritage">1.1 Darwin 的来历</a></li><li><a href="#basics.compiler">1.2 编译器和工具</a></li><li><a href="#basics.host-type">1.3 主机类型</a></li><li><a href="#basics.libraries">1.4 函数库</a></li><li><a href="#basics.other-sources">1.5 其它信息来源</a></li></ul></li><li><a href="#shared"><b>2 共享代码</b></a><ul><li><a href="#shared.lib-and-mod">2.1 共享库和可加载模块对比</a></li><li><a href="#shared.version">2.2 版本编号</a></li><li><a href="#shared.cflags">2.3 编译器标志</a></li><li><a href="#shared.build-lib">2.4 构建一个共享库</a></li><li><a href="#shared.build-mod">2.5 构建一个模块</a></li></ul></li><li><a href="#libtool"><b>3 GNU libtool</b></a><ul><li><a href="#libtool.situation">3.1 有关情况</a></li><li><a href="#libtool.patch-135">3.2 1.3.5 补丁</a></li><li><a href="#libtool.fixing-14x">3.3 修正 1.4.x</a></l i><li><a href="#libtool.dylibversionfix">3.4 修正 libtool 产生的 dylib 的版本字符串</a></li><li><a href="#libtool.notes">3.5 更多注解</a></li></ul></li><li><a href="#preparing"><b>4 为 10.2 做准备</b></a><ul><li><a href="#preparing.bash">4.1 bash shell</a></li><li><a href="#preparing.gcc3">4.2 gcc3 编译器</a></li></ul></li></ul><h2><a name="basics">1 基本知识</a></h2> + <h2>Contents</h2><ul><li><a href="#basics"><b>1 基本知识</b></a><ul><li><a href="#basics.heritage">1.1 Darwin 的来历</a></li><li><a href="#basics.compiler">1.2 编译器和工具</a></li><li><a href="#basics.host-type">1.3 主机类型</a></li><li><a href="#basics.libraries">1.4 函数库</a></li><li><a href="#basics.other-sources">1.5 其它信息来源</a></li></ul></li><li><a href="#shared"><b>2 共享代码</b></a><ul><li><a href="#shared.lib-and-mod">2.1 共享库和可加载模块对比</a></li><li><a href="#shared.version">2.2 版本编号</a></li><li><a href="#shared.cflags">2.3 编译器标志</a></li><li><a href="#shared.build-lib">2.4 构建一个共享库</a></li><li><a href="#shared.build-mod">2.5 构建一个模块</a></li></ul></li><li><a href="#libtool"><b>3 GNU libtool</b></a><ul><li><a href="#libtool.situation">3.1 有关情况</a></li><li><a href="#libtool.patch-135">3.2 1.3.5 补丁</a></li><li><a href="#libtool.fixing-14x">3.3 修正 1.4.x</a></l i><li><a href="#libtool.dylibversionfix">3.4 修正 libtool 产生的 dylib 的版本字符串</a></li><li><a href="#libtool.notes">3.5 更多注解</a></li></ul></li><li><a href="#preparing-10.2"><b>4 为 10.2 做准备</b></a><ul><li><a href="#preparing-10.2.bash">4.1 bash shell</a></li><li><a href="#preparing-10.2.gcc3">4.2 gcc3 编译器</a></li></ul></li><li><a href="#preparing-10.3"><b>5 为 10.3 做准备</b></a><ul><li><a href="#preparing-10.3.perl">5.1 Perl</a></li></ul></li></ul><h2><a name="basics">1 基本知识</a></h2> @@ -463,12 +463,12 @@ </p> -<h2><a name="preparing">4 为 10.2 做准备</a></h2> +<h2><a name="preparing-10.2">4 为 10.2 做准备</a></h2> -<h3><a name="preparing.bash">4.1 bash shell</a></h3> +<h3><a name="preparing-10.2.bash">4.1 bash shell</a></h3> <p> Fink 使得从 OS X 10.0 到 OS X 10.1 的转换很容易, 这得益于在转换到来之前就已经做好了计划。 我们计划在下一次转换到来之前也做好准备,但现在还不是太多的细节。 @@ -542,7 +542,7 @@ </li> </ul> -<h3><a name="preparing.gcc3">4.2 gcc3 编译器</a></h3> +<h3><a name="preparing-10.2.gcc3">4.2 gcc3 编译器</a></h3> <p>Mac OS X 10.2 使用 gcc3 编译器。</p> @@ -559,10 +559,15 @@ +<h2><a name="preparing-10.3">5 为 10.3 做准备</a></h2> + + +<h3><a name="preparing-10.3.perl">5.1 Perl</a></h3> + <hr><h2>Copyright Notice</h2><p>Copyright (c) 2001 Christoph Pfisterer, Copyright (c) 2001-2005 The Fink Project. You may distribute this document in print for private purposes, provided the document and this copyright notice remain complete and unmodified. Any commercial reproduction and any online publication requires the explicit consent of the author.</p><hr> -<p>Generated from <i>$Fink: porting.zh.xml,v 1.2 2004/03/12 15:06:20 jeff_yecn Exp $</i></p></body></html> +<p>Generated from <i>$Fink: porting.zh.xml,v 1.3 2005/03/16 18:01:45 dmacks Exp $</i></p></body></html> --- NEW FILE: preparing-10.3.zh.php --- (This appears to be a binary file; contents omitted.) Index: libtool.fr.php =================================================================== RCS file: /cvsroot/fink/web/doc/porting/libtool.fr.php,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- libtool.fr.php 11 Mar 2005 04:54:26 -0000 1.8 +++ libtool.fr.php 16 Mar 2005 18:13:58 -0000 1.9 @@ -1,8 +1,8 @@ <? $title = "Portage - libtool"; -$cvs_author = 'Author: michga'; -$cvs_date = 'Date: 2005/03/11 04:52:46'; -$metatags = '<link rel="contents" href="index.php?phpLang=fr" title="Portage Contents"><link rel="next" href="preparing.php?phpLang=fr" title="Préparation pour la version 10.2"><link rel="prev" href="shared.php?phpLang=fr" title="Code partagé">'; +$cvs_author = 'Author: dmacks'; +$cvs_date = 'Date: 2005/03/16 18:01:44'; +$metatags = '<link rel="contents" href="index.php?phpLang=fr" title="Portage Contents"><link rel="next" href="preparing-10.2.php?phpLang=fr" title="Préparation pour la version 10.2"><link rel="prev" href="shared.php?phpLang=fr" title="Code partagé">'; include_once "header.fr.inc"; @@ -108,7 +108,7 @@ Cependant, cet outil n'a rien à voir avec GNU libtool. L'outil GNU libtool qu'Apple fournit est installé sous le nom de <code>glibtool</code>. Ceci peut être réalisé en configurant GNU libtool avec <code>--program-transform-name=s/libtool/glibtool/</code>.</p> <p align="right"><? echo FINK_NEXT ; ?>: -<a href="preparing.php?phpLang=fr">4. Préparation pour la version 10.2</a></p> +<a href="preparing-10.2.php?phpLang=fr">4. Préparation pour la version 10.2</a></p> <? include_once "../../footer.inc"; ?> Index: shared.fr.php =================================================================== RCS file: /cvsroot/fink/web/doc/porting/shared.fr.php,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- shared.fr.php 11 Mar 2005 04:54:26 -0000 1.8 +++ shared.fr.php 16 Mar 2005 18:14:00 -0000 1.9 @@ -1,7 +1,7 @@ <? $title = "Portage - Code partagé"; -$cvs_author = 'Author: michga'; -$cvs_date = 'Date: 2005/03/11 04:52:46'; +$cvs_author = 'Author: dmacks'; +$cvs_date = 'Date: 2005/03/16 18:01:44'; $metatags = '<link rel="contents" href="index.php?phpLang=fr" title="Portage Contents"><link rel="next" href="libtool.php?phpLang=fr" title="GNU libtool"><link rel="prev" href="basics.php?phpLang=fr" title="Notions de base">'; Index: shared.en.php =================================================================== RCS file: /cvsroot/fink/web/doc/porting/shared.en.php,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- shared.en.php 10 Mar 2005 20:05:18 -0000 1.5 +++ shared.en.php 16 Mar 2005 18:13:59 -0000 1.6 @@ -1,7 +1,7 @@ <? $title = "Porting - Shared Code"; $cvs_author = 'Author: dmacks'; -$cvs_date = 'Date: 2005/03/10 20:01:09'; +$cvs_date = 'Date: 2005/03/16 18:01:32'; $metatags = '<link rel="contents" href="index.php?phpLang=en" title="Porting Contents"><link rel="next" href="libtool.php?phpLang=en" title="GNU libtool"><link rel="prev" href="basics.php?phpLang=en" title="Basics">'; Index: basics.fr.php =================================================================== RCS file: /cvsroot/fink/web/doc/porting/basics.fr.php,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- basics.fr.php 11 Mar 2005 04:54:26 -0000 1.8 +++ basics.fr.php 16 Mar 2005 18:13:58 -0000 1.9 @@ -1,7 +1,7 @@ <? $title = "Portage - Notions de base"; -$cvs_author = 'Author: michga'; -$cvs_date = 'Date: 2005/03/11 04:52:46'; +$cvs_author = 'Author: dmacks'; +$cvs_date = 'Date: 2005/03/16 18:01:44'; $metatags = '<link rel="contents" href="index.php?phpLang=fr" title="Portage Contents"><link rel="next" href="shared.php?phpLang=fr" title="Code partagé"><link rel="prev" href="index.php?phpLang=fr" title="Portage Contents">'; --- preparing.fr.php DELETED --- Index: index.en.php =================================================================== RCS file: /cvsroot/fink/web/doc/porting/index.en.php,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- index.en.php 10 Mar 2005 20:05:18 -0000 1.5 +++ index.en.php 16 Mar 2005 18:13:58 -0000 1.6 @@ -1,7 +1,7 @@ <? $title = "Porting"; $cvs_author = 'Author: dmacks'; -$cvs_date = 'Date: 2005/03/10 20:01:09'; +$cvs_date = 'Date: 2005/03/16 18:01:32'; $metatags = '<link rel="contents" href="index.php?phpLang=en" title="Porting Contents"><link rel="next" href="basics.php?phpLang=en" title="Basics">'; @@ -10,8 +10,8 @@ <h1>Porting Unix software to Darwin and Mac OS X</h1> <p>This document contains hints for porting Unix applications to Darwin and Mac OS X. The information here applies to Mac OS X version 10.0.x and Darwin 1.3.x. Both systems will be referred to as Darwin, since Mac OS X is actually a superset of Darwin.</p> <h2><? echo FINK_CONTENTS ; ?></h2><ul> - <li><a href="basics.php?phpLang=en"><b>1 Basics</b></a><ul><li><a href="basics.php?phpLang=en#heritage">1.1 Where Darwin came from</a></li><li><a href="basics.php?phpLang=en#compiler">1.2 The Compiler and Tools</a></li><li><a href="basics.php?phpLang=en#host-type">1.3 Host type</a></li><li><a href="basics.php?phpLang=en#libraries">1.4 Libraries</a></li><li><a href="basics.php?phpLang=en#other-sources">1.5 Other sources of information</a></li></ul></li><li><a href="shared.php?phpLang=en"><b>2 Shared Code</b></a><ul><li><a href="shared.php?phpLang=en#lib-and-mod">2.1 Shared Libraries vs. Loadable Modules</a></li><li><a href="shared.php?phpLang=en#version">2.2 Version Numbering</a></li><li><a href="shared.php?phpLang=en#cflags">2.3 Compiler Flags</a></li><li><a href="shared.php?phpLang=en#build-lib">2.4 Building a Shared Library</a></li><li><a href="shared.php?phpLang=en#build-mod">2.5 Building a Module</a></li></ul></li><li><a href="libtool.php?phpLang=en"><b>3 GNU libtool</b ></a><ul><li><a href="libtool.php?phpLang=en#situation">3.1 The >Situation</a></li><li><a href="libtool.php?phpLang=en#patch-135">3.2 The >1.3.5 Patch</a></li><li><a href="libtool.php?phpLang=en#fixing-14x">3.3 >Fixing 1.4.x</a></li><li><a href="libtool.php?phpLang=en#notes">3.4 Further >Notes</a></li></ul></li><li><a href="preparing.php?phpLang=en"><b>4 Preparing >for 10.2</b></a><ul><li><a href="preparing.php?phpLang=en#bash">4.1 The bash >shell</a></li><li><a href="preparing.php?phpLang=en#gcc3">4.2 The gcc3 >compiler</a></li></ul></li></ul> -<!--Generated from $Fink: porting.en.xml,v 1.3 2005/03/10 20:01:09 dmacks Exp $--> + <li><a href="basics.php?phpLang=en"><b>1 Basics</b></a><ul><li><a href="basics.php?phpLang=en#heritage">1.1 Where Darwin came from</a></li><li><a href="basics.php?phpLang=en#compiler">1.2 The Compiler and Tools</a></li><li><a href="basics.php?phpLang=en#host-type">1.3 Host type</a></li><li><a href="basics.php?phpLang=en#libraries">1.4 Libraries</a></li><li><a href="basics.php?phpLang=en#other-sources">1.5 Other sources of information</a></li></ul></li><li><a href="shared.php?phpLang=en"><b>2 Shared Code</b></a><ul><li><a href="shared.php?phpLang=en#lib-and-mod">2.1 Shared Libraries vs. Loadable Modules</a></li><li><a href="shared.php?phpLang=en#version">2.2 Version Numbering</a></li><li><a href="shared.php?phpLang=en#cflags">2.3 Compiler Flags</a></li><li><a href="shared.php?phpLang=en#build-lib">2.4 Building a Shared Library</a></li><li><a href="shared.php?phpLang=en#build-mod">2.5 Building a Module</a></li></ul></li><li><a href="libtool.php?phpLang=en"><b>3 GNU libtool</b ></a><ul><li><a href="libtool.php?phpLang=en#situation">3.1 The >Situation</a></li><li><a href="libtool.php?phpLang=en#patch-135">3.2 The >1.3.5 Patch</a></li><li><a href="libtool.php?phpLang=en#fixing-14x">3.3 >Fixing 1.4.x</a></li><li><a href="libtool.php?phpLang=en#notes">3.4 Further >Notes</a></li></ul></li><li><a href="preparing-10.2.php?phpLang=en"><b>4 >Preparing for 10.2</b></a><ul><li><a >href="preparing-10.2.php?phpLang=en#bash">4.1 The bash shell</a></li><li><a >href="preparing-10.2.php?phpLang=en#gcc3">4.2 The gcc3 >compiler</a></li></ul></li><li><a href="preparing-10.3.php?phpLang=en"><b>5 >Preparing for 10.3</b></a><ul><li><a >href="preparing-10.3.php?phpLang=en#perl">5.1 Perl</a></li></ul></li></ul> +<!--Generated from $Fink: porting.en.xml,v 1.4 2005/03/16 18:01:32 dmacks Exp $--> <? include_once "../../footer.inc"; ?> Index: header.zh.inc =================================================================== RCS file: /cvsroot/fink/web/doc/porting/header.zh.inc,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- header.zh.inc 11 Mar 2004 23:35:15 -0000 1.1 +++ header.zh.inc 16 Mar 2005 18:13:58 -0000 1.2 @@ -8,7 +8,8 @@ "doc/porting/basics.php?phpLang=zh", "基本知识", "doc/porting/shared.php?phpLang=zh", "共享代码", "doc/porting/libtool.php?phpLang=zh", "libtool", - "doc/porting/preparing.php?phpLang=zh", "为 10.2 做准备", + "doc/porting/preparing-10.2.php?phpLang=zh", "为 10.2 做准备", + "doc/porting/preparing-10.3.php?phpLang=zh", "为 10.3 做准备", ); $printlink = "doc/porting/porting.zh.html"; Index: basics.en.php =================================================================== RCS file: /cvsroot/fink/web/doc/porting/basics.en.php,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- basics.en.php 10 Mar 2005 20:05:18 -0000 1.5 +++ basics.en.php 16 Mar 2005 18:13:58 -0000 1.6 @@ -1,7 +1,7 @@ <? $title = "Porting - Basics"; $cvs_author = 'Author: dmacks'; -$cvs_date = 'Date: 2005/03/10 20:01:09'; +$cvs_date = 'Date: 2005/03/16 18:01:32'; $metatags = '<link rel="contents" href="index.php?phpLang=en" title="Porting Contents"><link rel="next" href="shared.php?phpLang=en" title="Shared Code"><link rel="prev" href="index.php?phpLang=en" title="Porting Contents">'; Index: header.fr.inc =================================================================== RCS file: /cvsroot/fink/web/doc/porting/header.fr.inc,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- header.fr.inc 25 Mar 2004 03:00:13 -0000 1.3 +++ header.fr.inc 16 Mar 2005 18:13:58 -0000 1.4 @@ -8,7 +8,8 @@ "doc/porting/basics.php?phpLang=fr", "Notions de base", "doc/porting/shared.php?phpLang=fr", "Code partagé", "doc/porting/libtool.php?phpLang=fr", "libtool", - "doc/porting/preparing.php?phpLang=fr", "Préparation pour 10.2", + "doc/porting/preparing-10.2.php?phpLang=fr", "Préparation pour 10.2", + "doc/porting/preparing-10.3.php?phpLang=fr", "Préparation pour 10.3", ); $printlink = "doc/porting/porting.fr.html"; Index: libtool.zh.php =================================================================== RCS file: /cvsroot/fink/web/doc/porting/libtool.zh.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- libtool.zh.php 19 Sep 2004 23:38:07 -0000 1.4 +++ libtool.zh.php 16 Mar 2005 18:13:58 -0000 1.5 @@ -1,8 +1,8 @@ <? $title = "移植 - libtool"; -$cvs_author = 'Author: jeff_yecn'; -$cvs_date = 'Date: 2004/03/12 15:06:20'; -$metatags = '<link rel="contents" href="index.php?phpLang=zh" title="移植 Contents"><link rel="next" href="preparing.php?phpLang=zh" title="为 10.2 做准备"><link rel="prev" href="shared.php?phpLang=zh" title="共享代码">'; +$cvs_author = 'Author: dmacks'; +$cvs_date = 'Date: 2005/03/16 18:01:45'; +$metatags = '<link rel="contents" href="index.php?phpLang=zh" title="移植 Contents"><link rel="next" href="preparing-10.2.php?phpLang=zh" title="为 10.2 做准备"><link rel="prev" href="shared.php?phpLang=zh" title="共享代码">'; include_once "header.zh.inc"; @@ -259,7 +259,7 @@ <p align="right"><? echo FINK_NEXT ; ?>: -<a href="preparing.php?phpLang=zh">4. 为 10.2 做准备</a></p> +<a href="preparing-10.2.php?phpLang=zh">4. 为 10.2 做准备</a></p> <? include_once "../../footer.inc"; ?> --- preparing.ja.php DELETED --- --- NEW FILE: preparing-10.3.fr.php --- (This appears to be a binary file; contents omitted.) Index: libtool.en.php =================================================================== RCS file: /cvsroot/fink/web/doc/porting/libtool.en.php,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- libtool.en.php 10 Mar 2005 20:05:18 -0000 1.5 +++ libtool.en.php 16 Mar 2005 18:13:58 -0000 1.6 @@ -1,8 +1,8 @@ <? $title = "Porting - libtool"; $cvs_author = 'Author: dmacks'; -$cvs_date = 'Date: 2005/03/10 20:01:09'; -$metatags = '<link rel="contents" href="index.php?phpLang=en" title="Porting Contents"><link rel="next" href="preparing.php?phpLang=en" title="Preparing for 10.2"><link rel="prev" href="shared.php?phpLang=en" title="Shared Code">'; +$cvs_date = 'Date: 2005/03/16 18:01:32'; +$metatags = '<link rel="contents" href="index.php?phpLang=en" title="Porting Contents"><link rel="next" href="preparing-10.2.php?phpLang=en" title="Preparing for 10.2"><link rel="prev" href="shared.php?phpLang=en" title="Shared Code">'; include_once "header.en.inc"; @@ -230,7 +230,7 @@ <p align="right"><? echo FINK_NEXT ; ?>: -<a href="preparing.php?phpLang=en">4. Preparing for 10.2</a></p> +<a href="preparing-10.2.php?phpLang=en">4. Preparing for 10.2</a></p> <? include_once "../../footer.inc"; ?> --- NEW FILE: preparing-10.3.php --- <? include_once "../../phpLang.inc.php"; ?> --- NEW FILE: preparing-10.3.en.php --- <? $title = "Porting - Preparing for 10.3"; $cvs_author = 'Author: dmacks'; $cvs_date = 'Date: 2005/03/16 18:01:32'; $metatags = '<link rel="contents" href="index.php?phpLang=en" title="Porting Contents"><link rel="prev" href="preparing-10.2.php?phpLang=en" title="Preparing for 10.2">'; include_once "header.en.inc"; ?> <h1>Porting - 5. Preparing for 10.3</h1> <h2><a name="perl">5.1 Perl</a></h2> <? include_once "../../footer.inc"; ?> Index: porting.fr.html =================================================================== RCS file: /cvsroot/fink/web/doc/porting/porting.fr.html,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- porting.fr.html 11 Mar 2005 04:54:26 -0000 1.8 +++ porting.fr.html 16 Mar 2005 18:13:58 -0000 1.9 @@ -12,7 +12,7 @@ </table> <h1 style="text-align: center;">Portage de logiciel sur Darwin et Mac OS X</h1> <p>Ce document contient des indications pour réaliser le portage d'applications Unix vers Darwin et Mac OS X. Ces informations s'appliquent à Mac OS X version 10.0.x et Darwin 1.3.x. Nous ferons référence aux deux systèmes sous le nom de Darwin, puisque Mac OS X est actuellement un sur-ensemble de Darwin.</p> -<h2>Contents</h2><ul><li><a href="#basics"><b>1 Notions de base</b></a><ul><li><a href="#basics.heritage">1.1 D'où vient Darwin ?</a></li><li><a href="#basics.compiler">1.2 Le compilateur et les outils</a></li><li><a href="#basics.host-type">1.3 Le type de la machine hôte</a></li><li><a href="#basics.librairies">1.4 Librairies</a></li><li><a href="#basics.other-sources">1.5 Autres sources d'information</a></li></ul></li><li><a href="#shared"><b>2 Code partagé</b></a><ul><li><a href="#shared.lib-and-mod">2.1 Librairies partagées ou modules chargeables</a></li><li><a href="#shared.version">2.2 Numérotation de version</a></li><li><a href="#shared.cflags">2.3 Options de compilation</a></li><li><a href="#shared.build-lib">2.4 Construction d'une librairie partagée</a></li><li><a href="#shared.build-mod">2.5 Construction d'un module</a></li></ul></li><li><a href="#libtool"><b>3 GNU libtool</b></a><ul><li><a href="#libtool.situation">3.1 État des lieux</a></li><li><a href="#l ibtool.patch-135">3.2 Rustine 1.3.5</a></li><li><a href="#libtool.fixing-14x">3.3 Adaptation de la version 1.4.x</a></li><li><a href="#libtool.notes">3.4 Notes supplémentaires</a></li></ul></li><li><a href="#preparing"><b>4 Préparation pour la version 10.2</b></a><ul><li><a href="#preparing.bash">4.1 Shell bash</a></li><li><a href="#preparing.gcc3">4.2 Compilateur gcc3</a></li></ul></li></ul><h2><a name="basics">1 Notions de base</a></h2> +<h2>Contents</h2><ul><li><a href="#basics"><b>1 Notions de base</b></a><ul><li><a href="#basics.heritage">1.1 D'où vient Darwin ?</a></li><li><a href="#basics.compiler">1.2 Le compilateur et les outils</a></li><li><a href="#basics.host-type">1.3 Le type de la machine hôte</a></li><li><a href="#basics.librairies">1.4 Librairies</a></li><li><a href="#basics.other-sources">1.5 Autres sources d'information</a></li></ul></li><li><a href="#shared"><b>2 Code partagé</b></a><ul><li><a href="#shared.lib-and-mod">2.1 Librairies partagées ou modules chargeables</a></li><li><a href="#shared.version">2.2 Numérotation de version</a></li><li><a href="#shared.cflags">2.3 Options de compilation</a></li><li><a href="#shared.build-lib">2.4 Construction d'une librairie partagée</a></li><li><a href="#shared.build-mod">2.5 Construction d'un module</a></li></ul></li><li><a href="#libtool"><b>3 GNU libtool</b></a><ul><li><a href="#libtool.situation">3.1 État des lieux</a></li><li><a href="#l ibtool.patch-135">3.2 Rustine 1.3.5</a></li><li><a href="#libtool.fixing-14x">3.3 Adaptation de la version 1.4.x</a></li><li><a href="#libtool.notes">3.4 Notes supplémentaires</a></li></ul></li><li><a href="#preparing-10.2"><b>4 Préparation pour la version 10.2</b></a><ul><li><a href="#preparing-10.2.bash">4.1 Shell bash</a></li><li><a href="#preparing-10.2.gcc3">4.2 Compilateur gcc3</a></li></ul></li><li><a href="#preparing-10.3"><b>5 Préparation pour la version 10.3</b></a><ul><li><a href="#preparing-10.3.perl">5.1 Perl</a></li></ul></li></ul><h2><a name="basics">1 Notions de base</a></h2> <h3><a name="basics.heritage">1.1 D'où vient Darwin ?</a></h3> @@ -184,10 +184,10 @@ <p>Note subsidiaire : les Developer Tools d'Apple contiennent un programme appelé, lui aussi, libtool, qui est utilisé par le compilateur pour construire des librairies partagées. Cependant, cet outil n'a rien à voir avec GNU libtool. L'outil GNU libtool qu'Apple fournit est installé sous le nom de <tt style="white-space: nowrap;">glibtool</tt>. Ceci peut être réalisé en configurant GNU libtool avec <tt style="white-space: nowrap;">--program-transform-name=s/libtool/glibtool/</tt>.</p> -<h2><a name="preparing">4 Préparation pour la version 10.2</a></h2> +<h2><a name="preparing-10.2">4 Préparation pour la version 10.2</a></h2> -<h3><a name="preparing.bash">4.1 Shell bash</a></h3> +<h3><a name="preparing-10.2.bash">4.1 Shell bash</a></h3> <p>Fink a fait la transition de OS X 10.0 à OS X 10.1 facilement, et cela, en partie, grâce à la planification des changements à faire. Nous essayerons de faire de même pour la prochaine transition, mais peu de détails nous sont connus pour l'instant.</p> <p> Nous savons que OS X 10.2 utilisera bash au lieu de zsh dans le but de fournir la fonctionnalité <tt style="white-space: nowrap;">/bin/sh</tt>. Ceci a au moins trois conséquences pour Fink.</p> <ul><li>Dans le passé, certains paquets de Fink créaient un CompileScript (ou un PatchScript, ou un InstallScript) qui ne faisait rien, simplement en mettant un point virgule dans le script. Ceci ne fonctionne pas avec bash et doit être remplacé par : @@ -246,16 +246,21 @@ </li> </ul> -<h3><a name="preparing.gcc3">4.2 Compilateur gcc3</a></h3> +<h3><a name="preparing-10.2.gcc3">4.2 Compilateur gcc3</a></h3> <p>Mac OS X 10.2 utilise le compilateur gcc3.</p> <p>Certains paquets qui ont des modules chargeables et qui utilisent libtool échouent avec une erreur install_name, car libtool passe le drapeau -install_name même avec le drapeau -bundle (alors que cela n'est pas strictement nécessaire). Ce comportement était accepté par le compilateur gcc2 mais n'est plus accepté maintenant par le compilateur gcc3. Vous trouverez la rustine <a href="http://www.mail-archive.com/fink-devel@lists.sourceforge.net/msg02025.html">ici</a>. Notez que vous n'avez pas besoin de cette rustine si votre paquet utilise libtool-1.3.5 (par exemple, si vous utilisez <tt style="white-space: nowrap;">UpdateLibtool: True</tt>) puisque elle a déjà été insérée dans une version révisée du fichier ltconfig (accessible dans des préversions de fink).</p> <p>Un autre problème avec le compilateur gcc3 est l'incompatibilité pour les ABI C++ entre gcc2 et gcc3. En pratique, ceci signifie que les programmes C++ compilés avec gcc3 ne peuvent être liés à des librairies compilées avec gcc2.</p> +<h2><a name="preparing-10.3">5 Préparation pour la version 10.3</a></h2> + + +<h3><a name="preparing-10.3.perl">5.1 Perl</a></h3> + <hr><h2>Copyright Notice</h2><p>Copyright (c) 2001 Christoph Pfisterer, Copyright (c) 2001-2005 The Fink Project. You may distribute this document in print for private purposes, provided the document and this copyright notice remain complete and unmodified. Any commercial reproduction and any online publication requires the explicit consent of the author.</p><hr> -<p>Generated from <i>$Fink: porting.fr.xml,v 1.6 2005/03/11 04:52:46 michga Exp $</i></p></body></html> +<p>Generated from <i>$Fink: porting.fr.xml,v 1.7 2005/03/16 18:01:44 dmacks Exp $</i></p></body></html> --- NEW FILE: preparing-10.2.php --- <? include_once "../../phpLang.inc.php"; ?> Index: porting.en.html =================================================================== RCS file: /cvsroot/fink/web/doc/porting/porting.en.html,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- porting.en.html 10 Mar 2005 20:05:18 -0000 1.6 +++ porting.en.html 16 Mar 2005 18:13:58 -0000 1.7 @@ -12,7 +12,7 @@ </table> <h1 style="text-align: center;">Porting Unix software to Darwin and Mac OS X</h1> <p>This document contains hints for porting Unix applications to Darwin and Mac OS X. The information here applies to Mac OS X version 10.0.x and Darwin 1.3.x. Both systems will be referred to as Darwin, since Mac OS X is actually a superset of Darwin.</p> - <h2>Contents</h2><ul><li><a href="#basics"><b>1 Basics</b></a><ul><li><a href="#basics.heritage">1.1 Where Darwin came from</a></li><li><a href="#basics.compiler">1.2 The Compiler and Tools</a></li><li><a href="#basics.host-type">1.3 Host type</a></li><li><a href="#basics.libraries">1.4 Libraries</a></li><li><a href="#basics.other-sources">1.5 Other sources of information</a></li></ul></li><li><a href="#shared"><b>2 Shared Code</b></a><ul><li><a href="#shared.lib-and-mod">2.1 Shared Libraries vs. Loadable Modules</a></li><li><a href="#shared.version">2.2 Version Numbering</a></li><li><a href="#shared.cflags">2.3 Compiler Flags</a></li><li><a href="#shared.build-lib">2.4 Building a Shared Library</a></li><li><a href="#shared.build-mod">2.5 Building a Module</a></li></ul></li><li><a href="#libtool"><b>3 GNU libtool</b></a><ul><li><a href="#libtool.situation">3.1 The Situation</a></li><li><a href="#libtool.patch-135">3.2 The 1.3.5 Patch</a></li><li><a href="#libtool.fixing-14x ">3.3 Fixing 1.4.x</a></li><li><a href="#libtool.notes">3.4 Further Notes</a></li></ul></li><li><a href="#preparing"><b>4 Preparing for 10.2</b></a><ul><li><a href="#preparing.bash">4.1 The bash shell</a></li><li><a href="#preparing.gcc3">4.2 The gcc3 compiler</a></li></ul></li></ul><h2><a name="basics">1 Basics</a></h2> + <h2>Contents</h2><ul><li><a href="#basics"><b>1 Basics</b></a><ul><li><a href="#basics.heritage">1.1 Where Darwin came from</a></li><li><a href="#basics.compiler">1.2 The Compiler and Tools</a></li><li><a href="#basics.host-type">1.3 Host type</a></li><li><a href="#basics.libraries">1.4 Libraries</a></li><li><a href="#basics.other-sources">1.5 Other sources of information</a></li></ul></li><li><a href="#shared"><b>2 Shared Code</b></a><ul><li><a href="#shared.lib-and-mod">2.1 Shared Libraries vs. Loadable Modules</a></li><li><a href="#shared.version">2.2 Version Numbering</a></li><li><a href="#shared.cflags">2.3 Compiler Flags</a></li><li><a href="#shared.build-lib">2.4 Building a Shared Library</a></li><li><a href="#shared.build-mod">2.5 Building a Module</a></li></ul></li><li><a href="#libtool"><b>3 GNU libtool</b></a><ul><li><a href="#libtool.situation">3.1 The Situation</a></li><li><a href="#libtool.patch-135">3.2 The 1.3.5 Patch</a></li><li><a href="#libtool.fixing-14x ">3.3 Fixing 1.4.x</a></li><li><a href="#libtool.notes">3.4 Further Notes</a></li></ul></li><li><a href="#preparing-10.2"><b>4 Preparing for 10.2</b></a><ul><li><a href="#preparing-10.2.bash">4.1 The bash shell</a></li><li><a href="#preparing-10.2.gcc3">4.2 The gcc3 compiler</a></li></ul></li><li><a href="#preparing-10.3"><b>5 Preparing for 10.3</b></a><ul><li><a href="#preparing-10.3.perl">5.1 Perl</a></li></ul></li></ul><h2><a name="basics">1 Basics</a></h2> @@ -373,12 +373,12 @@ </p> -<h2><a name="preparing">4 Preparing for 10.2</a></h2> +<h2><a name="preparing-10.2">4 Preparing for 10.2</a></h2> -<h3><a name="preparing.bash">4.1 The bash shell</a></h3> +<h3><a name="preparing-10.2.bash">4.1 The bash shell</a></h3> <p> Fink made the transition from OS X 10.0 to OS X 10.1 fairly easily, thanks in part to planning ahead for the changes that were coming. We will try @@ -461,7 +461,7 @@ </li> </ul> -<h3><a name="preparing.gcc3">4.2 The gcc3 compiler</a></h3> +<h3><a name="preparing-10.2.gcc3">4.2 The gcc3 compiler</a></h3> <p>Mac OS X 10.2 uses the gcc3 compiler.</p> @@ -483,10 +483,15 @@ +<h2><a name="preparing-10.3">5 Preparing for 10.3</a></h2> + + +<h3><a name="preparing-10.3.perl">5.1 Perl</a></h3> + <hr><h2>Copyright Notice</h2><p>Copyright (c) 2001 Christoph Pfisterer, Copyright (c) 2001-2005 The Fink Project. You may distribute this document in print for private purposes, provided the document and this copyright notice remain complete and unmodified. Any commercial reproduction and any online publication requires the explicit consent of the author.</p><hr> -<p>Generated from <i>$Fink: porting.en.xml,v 1.3 2005/03/10 20:01:09 dmacks Exp $</i></p></body></html> +<p>Generated from <i>$Fink: porting.en.xml,v 1.4 2005/03/16 18:01:32 dmacks Exp $</i></p></body></html> Index: header.en.inc =================================================================== RCS file: /cvsroot/fink/web/doc/porting/header.en.inc,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- header.en.inc 11 Mar 2004 23:35:15 -0000 1.1 +++ header.en.inc 16 Mar 2005 18:13:58 -0000 1.2 @@ -8,7 +8,8 @@ "doc/porting/basics.php?phpLang=en", "Basics", "doc/porting/shared.php?phpLang=en", "Shared Code", "doc/porting/libtool.php?phpLang=en", "libtool", - "doc/porting/preparing.php?phpLang=en", "Preparing for 10.2", + "doc/porting/preparing-10.2.php?phpLang=en", "Preparing for 10.2", + "doc/porting/preparing-10.3.php?phpLang=en", "Preparing for 10.3", ); $printlink = "doc/porting/porting.en.html"; Index: shared.zh.php =================================================================== RCS file: /cvsroot/fink/web/doc/porting/shared.zh.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- shared.zh.php 19 Sep 2004 23:38:08 -0000 1.4 +++ shared.zh.php 16 Mar 2005 18:14:00 -0000 1.5 @@ -1,7 +1,7 @@ <? $title = "移植 - 共享代码"; -$cvs_author = 'Author: jeff_yecn'; -$cvs_date = 'Date: 2004/03/12 15:06:20'; +$cvs_author = 'Author: dmacks'; +$cvs_date = 'Date: 2005/03/16 18:01:45'; $metatags = '<link rel="contents" href="index.php?phpLang=zh" title="移植 Contents"><link rel="next" href="libtool.php?phpLang=zh" title="GNU libtool"><link rel="prev" href="basics.php?phpLang=zh" title="基本知识">'; Index: index.zh.php =================================================================== RCS file: /cvsroot/fink/web/doc/porting/index.zh.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- index.zh.php 20 Oct 2004 13:26:25 -0000 1.4 +++ index.zh.php 16 Mar 2005 18:13:58 -0000 1.5 @@ -1,7 +1,7 @@ <? $title = "移植"; -$cvs_author = 'Author: jeff_yecn'; -$cvs_date = 'Date: 2004/03/12 15:06:20'; +$cvs_author = 'Author: dmacks'; +$cvs_date = 'Date: 2005/03/16 18:01:45'; $metatags = '<link rel="contents" href="index.php?phpLang=zh" title="移植 Contents"><link rel="next" href="basics.php?phpLang=zh" title="基本知识">'; @@ -12,8 +12,8 @@ 这里的信息适用于 Mac OS X 10.0.x 和 Darwin 1.3.x。 这两种操作系统我们都用 Darwin 来指代,因为 Mac OS X 实际上只是 Darwin 的一个超集。</p> <h2><? echo FINK_CONTENTS ; ?></h2><ul> - <li><a href="basics.php?phpLang=zh"><b>1 基本知识</b></a><ul><li><a href="basics.php?phpLang=zh#heritage">1.1 Darwin 的来历</a></li><li><a href="basics.php?phpLang=zh#compiler">1.2 编译器和工具</a></li><li><a href="basics.php?phpLang=zh#host-type">1.3 主机类型</a></li><li><a href="basics.php?phpLang=zh#libraries">1.4 函数库</a></li><li><a href="basics.php?phpLang=zh#other-sources">1.5 其它信息来源</a></li></ul></li><li><a href="shared.php?phpLang=zh"><b>2 共享代码</b></a><ul><li><a href="shared.php?phpLang=zh#lib-and-mod">2.1 共享库和可加载模块对比</a></li><li><a href="shared.php?phpLang=zh#version">2.2 版本编号</a></li><li><a href="shared.php?phpLang=zh#cflags">2.3 编译器标志</a></li><li><a href="shared.php?phpLang=zh#build-lib">2.4 构建一个共享库</a></li><li><a href="shared.php?phpLang=zh#build-mod">2.5 构建一个模块</a></li></ul></li><li><a href="libtool.php?phpLang=zh"><b>3 GNU libtool</b></a><ul><li><a href= "libtool.php?phpLang=zh#situation">3.1 有关情况</a></li><li><a href="libtool.php?phpLang=zh#patch-135">3.2 1.3.5 补丁</a></li><li><a href="libtool.php?phpLang=zh#fixing-14x">3.3 修正 1.4.x</a></li><li><a href="libtool.php?phpLang=zh#dylibversionfix">3.4 修正 libtool 产生的 dylib 的版本字符串</a></li><li><a href="libtool.php?phpLang=zh#notes">3.5 更多注解</a></li></ul></li><li><a href="preparing.php?phpLang=zh"><b>4 为 10.2 做准备</b></a><ul><li><a href="preparing.php?phpLang=zh#bash">4.1 bash shell</a></li><li><a href="preparing.php?phpLang=zh#gcc3">4.2 gcc3 编译器</a></li></ul></li></ul> -<!--Generated from $Fink: porting.zh.xml,v 1.2 2004/03/12 15:06:20 jeff_yecn Exp $--> + <li><a href="basics.php?phpLang=zh"><b>1 基本知识</b></a><ul><li><a href="basics.php?phpLang=zh#heritage">1.1 Darwin 的来历</a></li><li><a href="basics.php?phpLang=zh#compiler">1.2 编译器和工具</a></li><li><a href="basics.php?phpLang=zh#host-type">1.3 主机类型</a></li><li><a href="basics.php?phpLang=zh#libraries">1.4 函数库</a></li><li><a href="basics.php?phpLang=zh#other-sources">1.5 其它信息来源</a></li></ul></li><li><a href="shared.php?phpLang=zh"><b>2 共享代码</b></a><ul><li><a href="shared.php?phpLang=zh#lib-and-mod">2.1 共享库和可加载模块对比</a></li><li><a href="shared.php?phpLang=zh#version">2.2 版本编号</a></li><li><a href="shared.php?phpLang=zh#cflags">2.3 编译器标志</a></li><li><a href="shared.php?phpLang=zh#build-lib">2.4 构建一个共享库</a></li><li><a href="shared.php?phpLang=zh#build-mod">2.5 构建一个模块</a></li></ul></li><li><a href="libtool.php?phpLang=zh"><b>3 GNU libtool</b></a><ul><li><a href= "libtool.php?phpLang=zh#situation">3.1 有关情况</a></li><li><a href="libtool.php?phpLang=zh#patch-135">3.2 1.3.5 补丁</a></li><li><a href="libtool.php?phpLang=zh#fixing-14x">3.3 修正 1.4.x</a></li><li><a href="libtool.php?phpLang=zh#dylibversionfix">3.4 修正 libtool 产生的 dylib 的版本字符串</a></li><li><a href="libtool.php?phpLang=zh#notes">3.5 更多注解</a></li></ul></li><li><a href="preparing-10.2.php?phpLang=zh"><b>4 为 10.2 做准备</b></a><ul><li><a href="preparing-10.2.php?phpLang=zh#bash">4.1 bash shell</a></li><li><a href="preparing-10.2.php?phpLang=zh#gcc3">4.2 gcc3 编译器</a></li></ul></li><li><a href="preparing-10.3.php?phpLang=zh"><b>5 为 10.3 做准备</b></a><ul><li><a href="preparing-10.3.php?phpLang=zh#perl">5.1 Perl</a></li></ul></li></ul> +<!--Generated from $Fink: porting.zh.xml,v 1.3 2005/03/16 18:01:45 dmacks Exp $--> <? include_once "../../footer.inc"; ?> Index: index.fr.php =================================================================== RCS file: /cvsroot/fink/web/doc/porting/index.fr.php,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- index.fr.php 11 Mar 2005 04:54:26 -0000 1.8 +++ index.fr.php 16 Mar 2005 18:13:58 -0000 1.9 @@ -1,7 +1,7 @@ <? $title = "Portage"; -$cvs_author = 'Author: michga'; -$cvs_date = 'Date: 2005/03/11 04:52:46'; +$cvs_author = 'Author: dmacks'; +$cvs_date = 'Date: 2005/03/16 18:01:44'; $metatags = '<link rel="contents" href="index.php?phpLang=fr" title="Portage Contents"><link rel="next" href="basics.php?phpLang=fr" title="Notions de base">'; @@ -10,8 +10,8 @@ <h1>Portage de logiciel sur Darwin et Mac OS X</h1> <p>Ce document contient des indications pour réaliser le portage d'applications Unix vers Darwin et Mac OS X. Ces informations s'appliquent à Mac OS X version 10.0.x et Darwin 1.3.x. Nous ferons référence aux deux systèmes sous le nom de Darwin, puisque Mac OS X est actuellement un sur-ensemble de Darwin.</p> <h2><? echo FINK_CONTENTS ; ?></h2><ul> - <li><a href="basics.php?phpLang=fr"><b>1 Notions de base</b></a><ul><li><a href="basics.php?phpLang=fr#heritage">1.1 D'où vient Darwin ?</a></li><li><a href="basics.php?phpLang=fr#compiler">1.2 Le compilateur et les outils</a></li><li><a href="basics.php?phpLang=fr#host-type">1.3 Le type de la machine hôte</a></li><li><a href="basics.php?phpLang=fr#librairies">1.4 Librairies</a></li><li><a href="basics.php?phpLang=fr#other-sources">1.5 Autres sources d'information</a></li></ul></li><li><a href="shared.php?phpLang=fr"><b>2 Code partagé</b></a><ul><li><a href="shared.php?phpLang=fr#lib-and-mod">2.1 Librairies partagées ou modules chargeables</a></li><li><a href="shared.php?phpLang=fr#version">2.2 Numérotation de version</a></li><li><a href="shared.php?phpLang=fr#cflags">2.3 Options de compilation</a></li><li><a href="shared.php?phpLang=fr#build-lib">2.4 Construction d'une librairie partagée</a></li><li><a href="shared.php?phpLang=fr#build-mod">2.5 Construction d'un modu le</a></li></ul></li><li><a href="libtool.php?phpLang=fr"><b>3 GNU libtool</b></a><ul><li><a href="libtool.php?phpLang=fr#situation">3.1 État des lieux</a></li><li><a href="libtool.php?phpLang=fr#patch-135">3.2 Rustine 1.3.5</a></li><li><a href="libtool.php?phpLang=fr#fixing-14x">3.3 Adaptation de la version 1.4.x</a></li><li><a href="libtool.php?phpLang=fr#notes">3.4 Notes supplémentaires</a></li></ul></li><li><a href="preparing.php?phpLang=fr"><b>4 Préparation pour la version 10.2</b></a><ul><li><a href="preparing.php?phpLang=fr#bash">4.1 Shell bash</a></li><li><a href="preparing.php?phpLang=fr#gcc3">4.2 Compilateur gcc3</a></li></ul></li></ul> -<!--Generated from $Fink: porting.fr.xml,v 1.6 2005/03/11 04:52:46 michga Exp $--> + <li><a href="basics.php?phpLang=fr"><b>1 Notions de base</b></a><ul><li><a href="basics.php?phpLang=fr#heritage">1.1 D'où vient Darwin ?</a></li><li><a href="basics.php?phpLang=fr#compiler">1.2 Le compilateur et les outils</a></li><li><a href="basics.php?phpLang=fr#host-type">1.3 Le type de la machine hôte</a></li><li><a href="basics.php?phpLang=fr#librairies">1.4 Librairies</a></li><li><a href="basics.php?phpLang=fr#other-sources">1.5 Autres sources d'information</a></li></ul></li><li><a href="shared.php?phpLang=fr"><b>2 Code partagé</b></a><ul><li><a href="shared.php?phpLang=fr#lib-and-mod">2.1 Librairies partagées ou modules chargeables</a></li><li><a href="shared.php?phpLang=fr#version">2.2 Numérotation de version</a></li><li><a href="shared.php?phpLang=fr#cflags">2.3 Options de compilation</a></li><li><a href="shared.php?phpLang=fr#build-lib">2.4 Construction d'une librairie partagée</a></li><li><a href="shared.php?phpLang=fr#build-mod">2.5 Construction d'un modu le</a></li></ul></li><li><a href="libtool.php?phpLang=fr"><b>3 GNU libtool</b></a><ul><li><a href="libtool.php?phpLang=fr#situation">3.1 État des lieux</a></li><li><a href="libtool.php?phpLang=fr#patch-135">3.2 Rustine 1.3.5</a></li><li><a href="libtool.php?phpLang=fr#fixing-14x">3.3 Adaptation de la version 1.4.x</a></li><li><a href="libtool.php?phpLang=fr#notes">3.4 Notes supplémentaires</a></li></ul></li><li><a href="preparing-10.2.php?phpLang=fr"><b>4 Préparation pour la version 10.2</b></a><ul><li><a href="preparing-10.2.php?phpLang=fr#bash">4.1 Shell bash</a></li><li><a href="preparing-10.2.php?phpLang=fr#gcc3">4.2 Compilateur gcc3</a></li></ul></li><li><a href="preparing-10.3.php?phpLang=fr"><b>5 Préparation pour la version 10.3</b></a><ul><li><a href="preparing-10.3.php?phpLang=fr#perl">5.1 Perl</a></li></ul></li></ul> +<!--Generated from $Fink: porting.fr.xml,v 1.7 2005/03/16 18:01:44 dmacks Exp $--> <? include_once "../../footer.inc"; ?> --- NEW FILE: preparing-10.2.zh.php --- (This appears to be a binary file; contents omitted.) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits