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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since ef60d6b was 5ec7db05, checked in by Jim Gifford <clfs@…>, 16 years ago

Updated to GCC 4.3.3

  • Property mode set to 100644
File size: 4.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-temp-system-gcc" role="wrap">
9 <?dbhtml filename="gcc.html"?>
10
11 <title>GCC-&gcc-version;</title>
12
13 <indexterm zone="ch-temp-system-gcc">
14 <primary sortas="a-GCC">GCC</primary>
15 <secondary>temporary system</secondary>
16 </indexterm>
17
18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../final-system/common/gcc.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of GCC</title>
24
25<!--
26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
27 href="../../cross-tools/64/gcc-static.xml"
28 xpointer="xpointer(//*[@os='p1'])"/>
29
30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
31 href="../../cross-tools/64/gcc-static.xml"
32 xpointer="xpointer(//*[@os='p2'])"/>
33-->
34
35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
36 href="../../cross-tools/64/gcc-static.xml"
37 xpointer="xpointer(//*[@os='aa'])"/>
38
39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
40 href="../../cross-tools/64/gcc-static.xml"
41 xpointer="xpointer(//*[@os='ab'])"/>
42
43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
44 href="../../cross-tools/64/gcc-static.xml"
45 xpointer="xpointer(//*[@os='ac'])"/>
46
47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
48 href="../../cross-tools/64/gcc-static.xml"
49 xpointer="xpointer(//*[@os='ad'])"/>
50
51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
52 href="../../cross-tools/64/gcc-static.xml"
53 xpointer="xpointer(//*[@os='ag'])"/>
54
55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
56 href="../../cross-tools/64/gcc-static.xml"
57 xpointer="xpointer(//*[@os='ah'])"/>
58
59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
60 href="../common/gcc.xml"
61 xpointer="xpointer(//*[@os='cf'])"/>
62
63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
64 href="../common/gcc.xml"
65 xpointer="xpointer(//*[@os='cg'])"/>
66
67 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
68 href="../../final-system/common/gcc.xml"
69 xpointer="xpointer(//*[@os='f'])"/>
70
71 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
72 href="../../final-system/common/gcc.xml"
73 xpointer="xpointer(//*[@os='g'])"/>
74
75 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
76 href="../common/gcc.xml"
77 xpointer="xpointer(//*[@os='cj'])"/>
78
79 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
80 href="../../final-system/common/gcc.xml"
81 xpointer="xpointer(//*[@os='h'])"/>
82
83<screen os="ck"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \
84 ../gcc-&gcc-version;/configure --prefix=/tools --disable-multilib \
85 --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \
86 --libexecdir=/tools/lib --with-local-prefix=/tools --enable-long-long \
87 --enable-c99 --enable-shared --enable-threads=posix --disable-nls \
88 --enable-__cxa_atexit --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen>
89
90 <variablelist>
91 <title>The meaning of the new configure options:</title>
92
93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
94 href="../multilib/gcc.xml"
95 xpointer="xpointer(//*[@os='dd1'])"/>
96
97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
98 href="../common/gcc.xml"
99 xpointer="xpointer(//*[@os='cl1'])"/>
100
101 </variablelist>
102
103 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
104 href="../common/gcc.xml"
105 xpointer="xpointer(//*[@os='cm'])"/>
106
107 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
108 href="../common/gcc.xml"
109 xpointer="xpointer(//*[@os='cn'])"/>
110
111 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
112 href="../common/gcc.xml"
113 xpointer="xpointer(//*[@os='co'])"/>
114
115 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
116 href="../common/gcc.xml"
117 xpointer="xpointer(//*[@os='cp'])"/>
118
119 <para os="dp">Now we copy the files that are placed in <filename class="directory">/tools/lib64
120 </filename> to <filename class="directory">/tools/lib</filename>.
121 We also delete the /tools/lib64 directory:</para>
122
123<screen os="dq"><userinput>cp -va /tools/lib64/* /tools/lib
124rm -rvf /tools/lib64</userinput></screen>
125
126 </sect2>
127
128 <sect2 role="content">
129 <title/>
130
131 <para>Details on this package are located in <xref
132 linkend="contents-gcc" role="."/></para>
133
134 </sect2>
135
136</sect1>
Note: See TracBrowser for help on using the repository browser.