source: BOOK/temp-system/mips64-64/gcc.xml@ cf66ceae

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since cf66ceae was 3f8be484, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • Property mode set to 100644
File size: 6.3 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6 %general-entities;
7 %patches-entities;
8]>
9
10<sect1 id="ch-temp-system-gcc" role="wrap">
11 <?dbhtml filename="gcc.html"?>
12
13 <title>GCC-&gcc-version;</title>
14
15 <indexterm zone="ch-temp-system-gcc">
16 <primary sortas="a-GCC">GCC</primary>
17 <secondary>temporary system</secondary>
18 </indexterm>
19
20 <sect2 role="package">
21 <title/>
22
23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
24 href="../../final-system/common/gcc.xml"
25 xpointer="xpointer(//*[@role='package']/para[1])"/>
26
27 <segmentedlist>
28 <segtitle>&buildtime;</segtitle>
29 <segtitle>&diskspace;</segtitle>
30
31 <seglistitem>
32 <seg>Not checked yet</seg>
33 <seg>Not checked yet</seg>
34 </seglistitem>
35 </segmentedlist>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../../final-system/common/gcc.xml"
39 xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of GCC</title>
45
46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
47 href="../../cross-tools/mips64-64/gcc-static.xml"
48 xpointer="xpointer(//*[@os='aa'])"/>
49
50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
51 href="../../cross-tools/mips64-64/gcc-static.xml"
52 xpointer="xpointer(//*[@os='ab'])"/>
53
54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
55 href="../../cross-tools/mips64-64/gcc-static.xml"
56 xpointer="xpointer(//*[@os='ac'])"/>
57
58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
59 href="../../cross-tools/mips64-64/gcc-static.xml"
60 xpointer="xpointer(//*[@os='ad'])"/>
61
62 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
63 href="../../cross-tools/mips64-64/gcc-static.xml"
64 xpointer="xpointer(//*[@os='ae'])"/>
65
66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
67 href="../../cross-tools/mips64-64/gcc-static.xml"
68 xpointer="xpointer(//*[@os='af'])"/>
69
70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
71 href="../../final-system/mips/gcc.xml"
72 xpointer="xpointer(//*[@os='ma'])"/>
73
74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
75 href="../../final-system/mips/gcc.xml"
76 xpointer="xpointer(//*[@os='mb'])"/>
77
78 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
79 href="../../cross-tools/mips64-64/gcc-static.xml"
80 xpointer="xpointer(//*[@os='al'])"/>
81
82 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
83 href="../../cross-tools/mips64-64/gcc-static.xml"
84 xpointer="xpointer(//*[@os='am'])"/>
85
86 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
87 href="../x86/gcc.xml"
88 xpointer="xpointer(//*[@os='cd'])"/>
89
90 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
91 href="../x86/gcc.xml"
92 xpointer="xpointer(//*[@os='ce'])"/>
93
94 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
95 href="../x86/gcc.xml"
96 xpointer="xpointer(//*[@os='cf'])"/>
97
98 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
99 href="../x86/gcc.xml"
100 xpointer="xpointer(//*[@os='cg'])"/>
101
102 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
103 href="../x86/gcc.xml"
104 xpointer="xpointer(//*[@os='ch'])"/>
105
106 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
107 href="../x86/gcc.xml"
108 xpointer="xpointer(//*[@os='ci'])"/>
109
110 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
111 href="../x86_64/gcc.xml"
112 xpointer="xpointer(//*[@os='da'])"/>
113
114 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
115 href="../x86_64/gcc.xml"
116 xpointer="xpointer(//*[@os='db'])"/>
117
118 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
119 href="../../cross-tools/mips64-64/gcc-static.xml"
120 xpointer="xpointer(//*[@os='ak'])"/>
121
122 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
123 href="../../final-system/common/gcc.xml"
124 xpointer="xpointer(//*[@os='f'])"/>
125
126 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
127 href="../../final-system/common/gcc.xml"
128 xpointer="xpointer(//*[@os='g'])"/>
129
130 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
131 href="../x86/gcc.xml"
132 xpointer="xpointer(//*[@os='cj'])"/>
133
134 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
135 href="../../final-system/common/gcc.xml"
136 xpointer="xpointer(//*[@os='h'])"/>
137
138<screen><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \
139 ../gcc-&gcc-version;/configure --prefix=/tools --disable-multilib \
140 --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \
141 --libexecdir=/tools/lib --with-local-prefix=/tools --enable-long-long --with-abi=64 \
142 --enable-c99 --enable-shared --enable-threads=posix --enable-__cxa_atexit \
143 --disable-nls --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen>
144
145 <variablelist>
146 <title>The meaning of the new configure options:</title>
147
148 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
149 href="../x86_64/gcc.xml"
150 xpointer="xpointer(//*[@os='dc1'])"/>
151
152 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
153 href="../x86/gcc.xml"
154 xpointer="xpointer(//*[@os='ck1'])"/>
155
156 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
157 href="../x86/gcc.xml"
158 xpointer="xpointer(//*[@os='ck2'])"/>
159
160 </variablelist>
161
162 <para>Compile the package:</para>
163
164<screen><userinput>make AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" \
165 LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</userinput></screen>
166
167 <para>Install the package:</para>
168
169<screen><userinput>make install</userinput></screen>
170
171 <para>Now we copy the files that are placed in <filename class="directory">/tools/lib64
172 </filename> to <filename class="directory">/tools/lib</filename>.
173 We also delete the /tools/lib64 directory:</para>
174
175<screen><userinput>cp -ar /tools/lib64/* /tools/lib
176rm -rf /tools/lib64</userinput></screen>
177
178 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
179 href="../../final-system/common/gcc.xml"
180 xpointer="xpointer(//*[@os='w'])"/>
181
182<screen><userinput>ln -s gcc /tools/bin/cc</userinput></screen>
183
184 </sect2>
185
186 <sect2 role="content">
187 <title/>
188
189 <para>Details on this package are located in <xref
190 linkend="contents-gcc" role="."/></para>
191
192 </sect2>
193
194</sect1>
Note: See TracBrowser for help on using the repository browser.