source: BOOK/final-system/64/gcc.xml@ 4cc3468

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 4cc3468 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: 4.5 KB
Line 
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-system-gcc" role="wrap">
11 <?dbhtml filename="gcc.html"?>
12
13 <title>GCC-&gcc-version;</title>
14
15 <indexterm zone="ch-system-gcc">
16 <primary sortas="a-GCC">GCC</primary>
17 </indexterm>
18
19 <sect2 role="package">
20 <title/>
21
22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
23 href="../common/gcc.xml"
24 xpointer="xpointer(//*[@role='package']/para[1])"/>
25
26 <segmentedlist>
27 <segtitle>&buildtime;</segtitle>
28 <segtitle>&diskspace;</segtitle>
29
30 <seglistitem>
31 <seg>Not checked yet</seg>
32 <seg>Not checked yet</seg>
33 </seglistitem>
34 </segmentedlist>
35
36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
37 href="../common/gcc.xml"
38 xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
39
40 </sect2>
41
42 <sect2 role="installation">
43 <title>Installation of GCC</title>
44
45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46 href="../common/gcc.xml"
47 xpointer="xpointer(//*[@os='a'])"/>
48
49 <para>Apply the following patch to so that linking to /lib64 is now set
50 to /lib.</para>
51
52<screen><userinput>patch -Np1 -i ../&gcc-pure64-patch;</userinput></screen>
53
54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
55 href="../common/gcc.xml"
56 xpointer="xpointer(//*[@os='d'])"/>
57
58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
59 href="../common/gcc.xml"
60 xpointer="xpointer(//*[@os='e'])"/>
61
62 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
63 href="../common/gcc.xml"
64 xpointer="xpointer(//*[@os='f'])"/>
65
66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
67 href="../common/gcc.xml"
68 xpointer="xpointer(//*[@os='g'])"/>
69
70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
71 href="../common/gcc.xml"
72 xpointer="xpointer(//*[@os='h'])"/>
73
74<screen><userinput>../gcc-&gcc-version;/configure --prefix=/usr \
75 --libexecdir=/usr/lib --enable-shared --enable-threads=posix \
76 --enable-__cxa_atexit --enable-c99 --enable-long-long \
77 --enable-clocale=gnu --enable-languages=c,c++ --disable-libstdcxx-pch \
78 --disable-multilib</userinput></screen>
79
80 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
81 href="../common/gcc.xml"
82 xpointer="xpointer(//*[@os='i'])"/>
83
84 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
85 href="../common/gcc.xml"
86 xpointer="xpointer(//*[@os='j'])"/>
87
88 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
89 href="../common/gcc.xml"
90 xpointer="xpointer(//*[@os='k'])"/>
91
92 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
93 href="../common/gcc.xml"
94 xpointer="xpointer(//*[@os='l'])"/>
95
96 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
97 href="../common/gcc.xml"
98 xpointer="xpointer(//*[@os='m'])"/>
99
100 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
101 href="../common/gcc.xml"
102 xpointer="xpointer(//*[@os='n'])"/>
103
104 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
105 href="../common/gcc.xml"
106 xpointer="xpointer(//*[@os='o'])"/>
107
108 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
109 href="../common/gcc.xml"
110 xpointer="xpointer(//*[@os='p'])"/>
111
112 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
113 href="../common/gcc.xml"
114 xpointer="xpointer(//*[@os='q'])"/>
115
116 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
117 href="../common/gcc.xml"
118 xpointer="xpointer(//*[@os='r'])"/>
119
120 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
121 href="../common/gcc.xml"
122 xpointer="xpointer(//*[@os='s'])"/>
123
124 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
125 href="../common/gcc.xml"
126 xpointer="xpointer(//*[@os='t'])"/>
127
128 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
129 href="../common/gcc.xml"
130 xpointer="xpointer(//*[@os='u'])"/>
131
132 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
133 href="../common/gcc.xml"
134 xpointer="xpointer(//*[@os='v'])"/>
135
136 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
137 href="../common/gcc.xml"
138 xpointer="xpointer(//*[@os='w'])"/>
139
140 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
141 href="../common/gcc.xml"
142 xpointer="xpointer(//*[@os='x'])"/>
143
144 </sect2>
145
146 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
147 href="../common/gcc.xml"
148 xpointer="xpointer(id('contents-gcc'))"/>
149
150</sect1>
Note: See TracBrowser for help on using the repository browser.