source: BOOK/final-system/ppc64/gcc.xml@ a414012

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since a414012 was a414012, checked in by Ken Moffat <zarniwhoop@…>, 17 years ago

Enable gcc-4.2.2 to compile modular kernels for ppc64.

  • 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-system-gcc" role="wrap">
9 <?dbhtml filename="gcc.html"?>
10
11 <title>GCC-&gcc-version;</title>
12
13 <indexterm zone="ch-system-gcc">
14 <primary sortas="a-GCC">GCC</primary>
15 </indexterm>
16
17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
18 href="../common/gcc.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
20
21 <sect2 role="installation">
22 <title>Installation of GCC</title>
23
24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
25 href="../common/gcc.xml"
26 xpointer="xpointer(//*[@os='p1'])"/>
27
28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
29 href="../common/gcc.xml"
30 xpointer="xpointer(//*[@os='p2'])"/>
31
32 <para os="p3">The following patch enables modular kernels to be compiled for
33 ppc64.</para>
34
35<screen os="p4"><userinput>patch -Np1 -i ../&gcc-PR31490-patch;</userinput></screen>
36
37 <para os="ap1">GCC includes a <filename class="directory">nof</filename> directory
38 of 32-bit code for processors which do not have hardware floating point.
39 Installing it causes a linkage failure on a 64-bit system. and is
40 unnecessary. The following patch will prevent it being compiled.</para>
41
42<screen os="ap2"><userinput>patch -Np1 -i ../&gcc-nof-patch;</userinput></screen>
43
44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
45 href="../common/gcc.xml"
46 xpointer="xpointer(//*[@os='d'])"/>
47
48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
49 href="../common/gcc.xml"
50 xpointer="xpointer(//*[@os='e'])"/>
51
52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
53 href="../common/gcc.xml"
54 xpointer="xpointer(//*[@os='e1'])"/>
55
56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
57 href="../common/gcc.xml"
58 xpointer="xpointer(//*[@os='e2'])"/>
59
60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
61 href="../common/gcc.xml"
62 xpointer="xpointer(//*[@os='f'])"/>
63
64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
65 href="../common/gcc.xml"
66 xpointer="xpointer(//*[@os='g'])"/>
67
68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
69 href="../common/gcc.xml"
70 xpointer="xpointer(//*[@os='h'])"/>
71
72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
73 href="../multilib/gcc.xml"
74 xpointer="xpointer(//*[@os='i'])"/>
75
76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
77 href="../common/gcc.xml"
78 xpointer="xpointer(//*[@os='j'])"/>
79
80 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
81 href="../common/gcc.xml"
82 xpointer="xpointer(//*[@os='k'])"/>
83
84 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
85 href="../common/gcc.xml"
86 xpointer="xpointer(//*[@os='l'])"/>
87
88 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
89 href="../common/gcc.xml"
90 xpointer="xpointer(//*[@os='m'])"/>
91
92 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
93 href="../common/gcc.xml"
94 xpointer="xpointer(//*[@os='n'])"/>
95
96 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
97 href="../common/gcc.xml"
98 xpointer="xpointer(//*[@os='o'])"/>
99
100 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
101 href="../common/gcc.xml"
102 xpointer="xpointer(//*[@os='p'])"/>
103
104 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
105 href="../common/gcc.xml"
106 xpointer="xpointer(//*[@os='q'])"/>
107
108 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
109 href="../common/gcc.xml"
110 xpointer="xpointer(//*[@os='r'])"/>
111
112 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
113 href="../common/gcc.xml"
114 xpointer="xpointer(//*[@os='s'])"/>
115
116 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
117 href="../common/gcc.xml"
118 xpointer="xpointer(//*[@os='t'])"/>
119
120 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
121 href="../common/gcc.xml"
122 xpointer="xpointer(//*[@os='u'])"/>
123
124 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
125 href="../common/gcc.xml"
126 xpointer="xpointer(//*[@os='v'])"/>
127
128 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
129 href="../common/gcc.xml"
130 xpointer="xpointer(//*[@os='w'])"/>
131
132 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
133 href="../common/gcc.xml"
134 xpointer="xpointer(//*[@os='x'])"/>
135
136 </sect2>
137
138 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
139 href="../common/gcc.xml"
140 xpointer="xpointer(id('contents-gcc'))"/>
141
142</sect1>
Note: See TracBrowser for help on using the repository browser.