OSDN Git Service

Added all.
[clfsja/cross-lfs-ja.git] / src / final-system / multilib / libtool.ch
1 %
2 % This is part of CLFSja package.
3 %
4 % This is a CTIE change file for the original XML source of the CLFSbook.
5 %
6 @x
7 <?xml version="1.0" encoding="ISO-8859-1"?>
8 @y
9 <?xml version="1.0" encoding="UTF-8"?>
10 @z
11
12 @x
13   <title>Libtool-&libtool-version; 32 Bit Libraries</title>
14 @y
15   <title>Libtool-&libtool-version; 32&Bit;ライブラリ</title>
16 @z
17
18 @x
19     <secondary>32 Bit</secondary>
20 @y
21     <secondary>32&Bit;</secondary>
22 @z
23
24 @x
25     <title>Installation of Libtool</title>
26 @y
27     <title>&InstallationOf1;Libtool &InstallationOf2;</title>
28 @z
29
30 @x
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>
34 @y
35     <para os="a1">
36     以下のように <filename>config.cache</filename> ファイルに項目を加えてデフォルトの検索パスを設定します。
37     マルチライブラリを考慮しないようにするものです。
38     </para>
39 @z
40
41 @x
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>
46 @y
47     <para os="e">
48     ビルド結果をテストする場合はまずマシンがビッグエンディアンかリトルエンディアンかを確認します。
49     SGI マシンは通常ビッグエンディアン、Cobalt マシンはリトルエンディアンです。
50     自信がないならば <command>echo ${MACHTYPE} | grep 'el-'</command> を実行してみてください。
51     リトルエンディアンであれば出力があるはずです。
52     </para>
53 @z
54
55 @x
56     <para os="e2">To test on a little-endian machine issue:
57     <userinput>make LDEMULATION=elf32ltsmip check</userinput>.</para>
58 @y
59     <para os="e2">
60     リトルエンディアンマシンの場合、テスト実行は <userinput>make LDEMULATION=elf32ltsmip check</userinput> とします。
61     </para>
62 @z
63
64 @x
65     <para os="e1">To test on a big-endian machine issue:
66     <userinput>make LDEMULATION=elf32btsmip check</userinput>.</para>
67 @y
68     <para os="e1">
69     ビッグエンディアンマシンの場合、テスト実行は <userinput>make LDEMULATION=elf32btsmip check</userinput> とします。
70     </para>
71 @z
72
73 @x
74       <title>The meaning of the override on make check:</title>
75 @y
76       <title>make check におけるオーバーライドの意味</title>
77 @z
78
79 @x LDEMULATION=[emulation]
80         <term><parameter>LDEMULATION=[emulation]</parameter></term>
81 @y
82         <term><parameter>LDEMULATION=[エミュレーション]</parameter></term>
83 @z
84 @x
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>
97 @y
98           <para>
99           Libtool はマルチライブラリのビルド時に、特にデフォルトサイズを持たないアーキテクチャーである場合に正常処理されません。
100           エラーとなる原因はよく分かっていません。
101           エラーが出たり出なかったりして、結局は意味のない修正に向かってしまいます。
102           本書が今示す時点にて pdemo-make テストがリンクに失敗します。
103           これは32ビットモジュールを64ビットシステムのライブラリにリンクしようとするためです。
104           本オプションはエラーとなってしまうテストを成功させます。
105           その他のテストには影響を及ぼしません。
106           (ごく普通に行われる <literal>LD="gcc ${BUILD32}"</literal> の指定と比べてみると、この指定ではテストの成功率が格段に減ります。
107           あるいは <literal>LDFLAGS='-L/lib -L/usr/lib'</literal> を指定したとすると、今度は他のテストが失敗します。)
108           </para>
109 @z
110
111 @x
112     <para os="m1">Prepare <filename>libtool</filename> to be wrapped by
113     the multiarch wrapper. Libtool by itself is not multilib aware:</para>
114 @y
115     <para os="m1">
116     <filename>libtool</filename> を Multiarch Wrapper でラップするための用意をします。
117     Libtool 自体はマルチライブラリ対応ではありません。
118     </para>
119 @z
120
121 @x
122     <para>Details on this package are located in <xref
123     linkend="contents-libtool" role="."/></para>
124 @y
125     <para>
126     &Details1;<xref linkend="contents-libtool" role=""/>&Details2;
127     </para>
128 @z