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>Build Variables</title>
19 <bridgehead renderas="sect4">Setting Host and Target</bridgehead>
21 <bridgehead renderas="sect4">ホストおよびターゲットの設定</bridgehead>
25 <para os="a">During the building of the cross-compile tools you will need to
26 set a few variables that will be dependent on your particular needs.
27 The first variable will be the triplet of the host machine, which will be
28 put into the <envar>CLFS_HOST</envar> variable. To account for the
29 possibility that the host and target are the same arch, as cross-compiling
30 won't work when host and target are the same, part of the triplet needs to
31 be changed slightly - in our case, we will change part of the triplet
32 to "cross". Set <envar>CLFS_HOST</envar> using the following command:</para>
35 クロスコンパイルツールをビルドする間には、環境に合わせた固有の情報を変数に設定しておく必要があります。
36 一つめの変数はホストマシンのターゲットの三つ組 (target triplets) を変数 <envar>CLFS_HOST</envar> に設定します。
37 ホストとターゲットのアーキテクチャーは同一である可能性があるわけですが、両者が同一であるとクロスコンパイル作業がうまく出来ません。
38 そこで三つ組の情報は一部を微妙に変える必要があります。
39 ここでは三つ組の情報に "cross" を加えます。
40 以下のコマンドにより <envar>CLFS_HOST</envar> を設定します。
45 <para os="c">Now you will need to set the triplet for the target
46 architecture. Set the target variable using the following command:</para>
49 ターゲットアーキテクチャーに対応してターゲットの三つ組 (target triplets) を設定する必要があります。
50 以下のコマンドを使ってターゲット変数を設定します。
55 <para os="t1">Replace [target triplet] with the appropriate machine triplet
56 using the table at the bottom of the page.</para>
59 [target triplet] の部分は、本ページ最後に示すターゲットの三つ組の中から適切なものを選んで置き換えてください。
64 <bridgehead renderas="sect4">Copy settings to the Environment</bridgehead>
66 <bridgehead renderas="sect4">環境への設定コピー</bridgehead>
70 <para os="e">Now add these to <filename>~/.bashrc</filename>, just in
71 case you have to exit and restart building later:</para>
74 上のビルド変数を <filename>~/.bashrc</filename> に加えておきます。
75 こうすることで、再ログインした場合などに設定し忘れることがないようにします。
80 <title>Processor Type and Target Triplets</title>
82 <title>プロセッサータイプとターゲットの三つ組 (Target Triplets)</title>
86 <entry>Processor</entry>
87 <entry>Target Triplet</entry>
90 <entry>ターゲットの三つ組</entry>
94 <entry>386 Compatibles</entry>
95 <entry>Not Supported By Glibc</entry>
98 <entry>Glibc 未対応</entry>
102 <entry>486 Compatibles</entry>
103 <entry>i486-pc-linux-gnu</entry>
105 <entry>486 互換</entry>
106 <entry>i486-pc-linux-gnu</entry>
110 <entry>Pentium, K6, 586 Compatibles</entry>
111 <entry>i586-pc-linux-gnu</entry>
113 <entry>Pentium, K6, 586 互換</entry>
114 <entry>i586-pc-linux-gnu</entry>
118 <entry>Pentium II, Pentium III, Pentium 4</entry>
119 <entry>i686-pc-linux-gnu</entry>
121 <entry>Pentium II, Pentium III, Pentium 4</entry>
122 <entry>i686-pc-linux-gnu</entry>
126 <entry>Athlon, Duron</entry>
127 <entry>i686-pc-linux-gnu</entry>
129 <entry>Athlon, Duron</entry>
130 <entry>i686-pc-linux-gnu</entry>