source: BOOK/final-system/multilib/gcc.xml@ 9bd6ef9

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

Update GCC 5.2.0 from GCC 4.8.0.

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