source: BOOK/final-system/multilib/gcc.xml@ 03394ec

sysvinit
Last change on this file since 03394ec was a55f9e7, checked in by William Harrington <kb0iic@…>, 9 years ago

Upgrade GCC from 5.2.0 to 5.3.0.

  • Property mode set to 100644
File size: 4.4 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/2001/XInclude"
18 href="../common/gcc.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
20
21 <sect2 role="installation">
22 <title>Installation of GCC</title>
23
24<!--GCC Branch Update Area
25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
26 href="../common/gcc.xml"
27 xpointer="xpointer(//*[@os='p1'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
30 href="../common/gcc.xml"
31 xpointer="xpointer(//*[@os='p2'])"/>
32-->
33
34 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
35 href="../common/gcc.xml"
36 xpointer="xpointer(//*[@os='fix1'])"/>
37
38 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
39 href="../common/gcc.xml"
40 xpointer="xpointer(//*[@os='fix2'])"/>
41
42 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
43 href="../common/gcc.xml"
44 xpointer="xpointer(//*[@os='f'])"/>
45
46 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
47 href="../common/gcc.xml"
48 xpointer="xpointer(//*[@os='g'])"/>
49
50 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
51 href="../common/gcc.xml"
52 xpointer="xpointer(//*[@os='h'])"/>
53
54<screen os="i"><userinput>SED=sed CC="gcc -isystem /usr/include ${BUILD64}" \
55CXX="g++ -isystem /usr/include ${BUILD64}" \
56LDFLAGS="-Wl,-rpath-link,/usr/lib64:/lib64:/usr/lib:/lib" \
57../gcc-&gcc-version;/configure \
58 --prefix=/usr \
59 --libdir=/usr/lib64 \
60 --libexecdir=/usr/lib64 \
61 --enable-languages=c,c++ \
62 --with-system-zlib \
63 --enable-install-libiberty \
64 --disable-bootstrap</userinput></screen>
65
66 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
67 href="../common/gcc.xml"
68 xpointer="xpointer(//*[@os='i1'])"/>
69
70 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
71 href="../common/gcc.xml"
72 xpointer="xpointer(//*[@os='j'])"/>
73
74 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
75 href="../common/gcc.xml"
76 xpointer="xpointer(//*[@os='k'])"/>
77
78 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
79 href="../common/gcc.xml"
80 xpointer="xpointer(//*[@os='l'])"/>
81
82 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
83 href="../common/gcc.xml"
84 xpointer="xpointer(//*[@os='s1'])"/>
85
86 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
87 href="../common/gcc.xml"
88 xpointer="xpointer(//*[@os='s2'])"/>
89
90 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
91 href="../common/gcc.xml"
92 xpointer="xpointer(//*[@os='m'])"/>
93
94 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
95 href="../common/gcc.xml"
96 xpointer="xpointer(//*[@os='n'])"/>
97
98 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
99 href="../common/gcc.xml"
100 xpointer="xpointer(//*[@os='o'])"/>
101
102 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
103 href="../common/gcc.xml"
104 xpointer="xpointer(//*[@os='p'])"/>
105
106 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
107 href="../common/gcc.xml"
108 xpointer="xpointer(//*[@os='q'])"/>
109
110 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
111 href="../common/gcc.xml"
112 xpointer="xpointer(//*[@os='r'])"/>
113
114 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
115 href="../common/gcc.xml"
116 xpointer="xpointer(//*[@os='s'])"/>
117
118 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
119 href="../common/gcc.xml"
120 xpointer="xpointer(//*[@os='t'])"/>
121
122 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
123 href="../common/gcc.xml"
124 xpointer="xpointer(//*[@os='w'])"/>
125
126 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
127 href="../common/gcc.xml"
128 xpointer="xpointer(//*[@os='x'])"/>
129
130 <para os="y">Finally, move some misplaced files:</para>
131
132
133<screen os="z"><userinput>mv -v /usr/lib/libstdc++*gdb.py /usr/share/gdb/auto-load/usr/lib
134mv -v /usr/lib64/libstdc++*gdb.py /usr/share/gdb/auto-load/usr/lib64</userinput></screen>
135
136 </sect2>
137
138 <xi:include xmlns:xi="http://www.w3.org/2001/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.