2 % This is part of CLFSja package.
4 % This is a CTIE change file for the original XML source of the CLFSbook.
7 <?xml version="1.0" encoding="ISO-8859-1"?>
9 <?xml version="1.0" encoding="UTF-8"?>
13 <title>Libtool-&libtool-version; 32 Bit Libraries</title>
15 <title>Libtool-&libtool-version; 32&Bit;ライブラリ</title>
19 <secondary>32 Bit</secondary>
21 <secondary>32&Bit;</secondary>
25 <title>Installation of Libtool</title>
27 <title>&InstallationOf1;Libtool &InstallationOf2;</title>
31 <para os="a1">The following <filename>config.cache</filename> entry
32 overrides the default search path, which does not take
33 multilib into account:</para>
36 以下のように <filename>config.cache</filename> ファイルに項目を加えてデフォルトの検索パスを設定します。
37 マルチライブラリを考慮しないようにするものです。
42 <para os="e">To test the results, first identify whether you are on a big- or
43 little-endian machine. SGI machines are usually big-endian, Cobalt are
44 usually little-endian. If in doubt you can <command>echo ${MACHTYPE} | grep 'el-'
45 </command>- this will match a little-endian machine.</para>
48 ビルド結果をテストする場合はまずマシンがビッグエンディアンかリトルエンディアンかを確認します。
49 SGI マシンは通常ビッグエンディアン、Cobalt マシンはリトルエンディアンです。
50 自信がないならば <command>echo ${MACHTYPE} | grep 'el-'</command> を実行してみてください。
51 リトルエンディアンであれば出力があるはずです。
56 <para os="e2">To test on a little-endian machine issue:
57 <userinput>make LDEMULATION=elf32ltsmip check</userinput>.</para>
60 リトルエンディアンマシンの場合、テスト実行は <userinput>make LDEMULATION=elf32ltsmip check</userinput> とします。
65 <para os="e1">To test on a big-endian machine issue:
66 <userinput>make LDEMULATION=elf32btsmip check</userinput>.</para>
69 ビッグエンディアンマシンの場合、テスト実行は <userinput>make LDEMULATION=elf32btsmip check</userinput> とします。
74 <title>The meaning of the override on make check:</title>
76 <title>make check におけるオーバーライドの意味</title>
79 @x LDEMULATION=[emulation]
80 <term><parameter>LDEMULATION=[emulation]</parameter></term>
82 <term><parameter>LDEMULATION=[エミュレーション]</parameter></term>
85 <para>Libtool tends to do the wrong thing when building for multilib,
86 at least on the non-default size(s) of architecture. The causes of
87 these errors are not well understood and they can appear, or disappear,
88 as a result of apparently innocuous other changes in the build. In
89 this version of the book, one of the tests (pdemo-make) fails to link
90 because it tries to link the 32-bit objects against 64-bit system
91 libraries. This option enables the test to succeed without impacting
92 the other tests (compare the common alternative fixes of
93 <literal>LD="gcc ${BUILD32}"</literal> which causes far fewer tests
94 to be executed, and configuring with
95 <literal>LDFLAGS='-L/lib -L/usr/lib'</literal> which in this case
96 causes other tests to fail.)</para>
99 Libtool はマルチライブラリのビルド時に、特にデフォルトサイズを持たないアーキテクチャーである場合に正常処理されません。
101 エラーが出たり出なかったりして、結局は意味のない修正に向かってしまいます。
102 本書が今示す時点にて pdemo-make テストがリンクに失敗します。
103 これは32ビットモジュールを64ビットシステムのライブラリにリンクしようとするためです。
104 本オプションはエラーとなってしまうテストを成功させます。
106 (ごく普通に行われる <literal>LD="gcc ${BUILD32}"</literal> の指定と比べてみると、この指定ではテストの成功率が格段に減ります。
107 あるいは <literal>LDFLAGS='-L/lib -L/usr/lib'</literal> を指定したとすると、今度は他のテストが失敗します。)
112 <para os="m1">Prepare <filename>libtool</filename> to be wrapped by
113 the multiarch wrapper. Libtool by itself is not multilib aware:</para>
116 <filename>libtool</filename> を Multiarch Wrapper でラップするための用意をします。
117 Libtool 自体はマルチライブラリ対応ではありません。
122 <para>Details on this package are located in <xref
123 linkend="contents-libtool" role="."/></para>
126 &Details1;<xref linkend="contents-libtool" role=""/>&Details2;