OSDN Git Service

Merge branch 'systemd'
[clfsja/cross-lfs-ja.git] / src / final-preps / x86 / variables.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>Build Variables</title>
14 @y
15   <title>ビルド変数</title>
16 @z
17
18 @x
19   <bridgehead renderas="sect4">Setting Host and Target</bridgehead>
20 @y
21   <bridgehead renderas="sect4">ホストおよびターゲットの設定</bridgehead>
22 @z
23
24 @x
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>
33 @y
34   <para os="a">
35   クロスコンパイルツールをビルドする間には、環境に合わせた固有の情報を変数に設定しておく必要があります。
36   一つめの変数はホストマシンのターゲットの三つ組 (target triplets) を変数 <envar>CLFS_HOST</envar> に設定します。
37   ホストとターゲットのアーキテクチャーは同一である可能性があるわけですが、両者が同一であるとクロスコンパイル作業がうまく出来ません。
38   そこで三つ組の情報は一部を微妙に変える必要があります。
39   ここでは三つ組の情報に "cross" を加えます。
40   以下のコマンドにより <envar>CLFS_HOST</envar> を設定します。
41   </para>
42 @z
43
44 @x
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>
47 @y
48   <para os="c">
49   ターゲットアーキテクチャーに対応してターゲットの三つ組 (target triplets) を設定する必要があります。
50   以下のコマンドを使ってターゲット変数を設定します。
51   </para>
52 @z
53
54 @x
55   <para os="t1">Replace [target triplet] with the appropriate machine triplet
56   using the table at the bottom of the page.</para>
57 @y
58   <para os="t1">
59   [target triplet] の部分は、本ページ最後に示すターゲットの三つ組の中から適切なものを選んで置き換えてください。
60   </para>
61 @z
62
63 @x
64   <bridgehead renderas="sect4">Copy settings to the Environment</bridgehead>
65 @y
66   <bridgehead renderas="sect4">環境への設定コピー</bridgehead>
67 @z
68
69 @x
70   <para os="e">Now add these to <filename>~/.bashrc</filename>, just in
71   case you have to exit and restart building later:</para>
72 @y
73   <para os="e">
74   上のビルド変数を <filename>~/.bashrc</filename> に加えておきます。
75   こうすることで、再ログインした場合などに設定し忘れることがないようにします。
76   </para>
77 @z
78
79 @x
80     <title>Processor Type and  Target Triplets</title>
81 @y
82     <title>プロセッサータイプとターゲットの三つ組 (Target Triplets)</title>
83 @z
84
85 @x
86           <entry>Processor</entry>
87           <entry>Target Triplet</entry>
88 @y
89           <entry>プロセッサー</entry>
90           <entry>ターゲットの三つ組</entry>
91 @z
92
93 @x
94           <entry>386 Compatibles</entry>
95           <entry>Not Supported By Glibc</entry>
96 @y
97           <entry>386 互換</entry>
98           <entry>Glibc 未対応</entry>
99 @z
100
101 @x
102           <entry>486 Compatibles</entry>
103           <entry>i486-pc-linux-gnu</entry>
104 @y
105           <entry>486 互換</entry>
106           <entry>i486-pc-linux-gnu</entry>
107 @z
108
109 @x
110           <entry>Pentium, K6, 586 Compatibles</entry>
111           <entry>i586-pc-linux-gnu</entry>
112 @y
113           <entry>Pentium, K6, 586 互換</entry>
114           <entry>i586-pc-linux-gnu</entry>
115 @z
116
117 @x
118           <entry>Pentium II, Pentium III, Pentium 4</entry>
119           <entry>i686-pc-linux-gnu</entry>
120 @y
121           <entry>Pentium II, Pentium III, Pentium 4</entry>
122           <entry>i686-pc-linux-gnu</entry>
123 @z
124
125 @x
126           <entry>Athlon, Duron</entry>
127           <entry>i686-pc-linux-gnu</entry>
128 @y
129           <entry>Athlon, Duron</entry>
130           <entry>i686-pc-linux-gnu</entry>
131 @z