source: BOOK/final-system/mips/gcc.xml@ 95bf29f

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 95bf29f 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
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-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 os="ma">The following patch ensures that TLS is utilized by GCC
50 for MIPS:</para>
51
52<screen os="mb"><userinput>patch -Np1 -i ../&gcc-mips_tls-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</userinput></screen>
78
79 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
80 href="../common/gcc.xml"
81 xpointer="xpointer(//*[@os='i'])"/>
82
83 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
84 href="../common/gcc.xml"
85 xpointer="xpointer(//*[@os='j'])"/>
86
87 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
88 href="../common/gcc.xml"
89 xpointer="xpointer(//*[@os='k'])"/>
90
91 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
92 href="../common/gcc.xml"
93 xpointer="xpointer(//*[@os='l'])"/>
94
95 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
96 href="../common/gcc.xml"
97 xpointer="xpointer(//*[@os='m'])"/>
98
99 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
100 href="../common/gcc.xml"
101 xpointer="xpointer(//*[@os='n'])"/>
102
103 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
104 href="../common/gcc.xml"
105 xpointer="xpointer(//*[@os='o'])"/>
106
107 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
108 href="../common/gcc.xml"
109 xpointer="xpointer(//*[@os='p'])"/>
110
111 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
112 href="../common/gcc.xml"
113 xpointer="xpointer(//*[@os='q'])"/>
114
115 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
116 href="../common/gcc.xml"
117 xpointer="xpointer(//*[@os='r'])"/>
118
119 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
120 href="../common/gcc.xml"
121 xpointer="xpointer(//*[@os='s'])"/>
122
123 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
124 href="../common/gcc.xml"
125 xpointer="xpointer(//*[@os='t'])"/>
126
127 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
128 href="../common/gcc.xml"
129 xpointer="xpointer(//*[@os='u'])"/>
130
131 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
132 href="../common/gcc.xml"
133 xpointer="xpointer(//*[@os='v'])"/>
134
135 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
136 href="../common/gcc.xml"
137 xpointer="xpointer(//*[@os='w'])"/>
138
139 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
140 href="../common/gcc.xml"
141 xpointer="xpointer(//*[@os='x'])"/>
142
143 </sect2>
144
145 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
146 href="../common/gcc.xml"
147 xpointer="xpointer(id('contents-gcc'))"/>
148
149</sect1>
Note: See TracBrowser for help on using the repository browser.