[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[3f8be484] | 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 |
|
---|
[dabbced] | 17 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[1cd688b] | 18 | href="../common/gcc.xml"
|
---|
| 19 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[3f8be484] | 20 |
|
---|
| 21 | <sect2 role="installation">
|
---|
| 22 | <title>Installation of GCC</title>
|
---|
| 23 |
|
---|
[cc858ed] | 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 |
|
---|
[7327f1f] | 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 |
|
---|
[dabbced] | 40 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 41 | href="../common/gcc.xml"
|
---|
| 42 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 43 |
|
---|
[dabbced] | 44 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 45 | href="../common/gcc.xml"
|
---|
| 46 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 47 |
|
---|
[dabbced] | 48 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 49 | href="../common/gcc.xml"
|
---|
| 50 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
| 51 |
|
---|
[0b5b8b7] | 52 | <screen os="i"><userinput>SED=sed CC="gcc -isystem /usr/include ${BUILD64}" \
|
---|
[b6831b6] | 53 | CXX="g++ -isystem /usr/include ${BUILD64}" \
|
---|
| 54 | LDFLAGS="-Wl,-rpath-link,/usr/lib64:/lib64:/usr/lib:/lib" \
|
---|
[b27081c4] | 55 | ../gcc-&gcc-version;/configure \
|
---|
| 56 | --prefix=/usr \
|
---|
| 57 | --libdir=/usr/lib64 \
|
---|
| 58 | --libexecdir=/usr/lib64 \
|
---|
| 59 | --enable-languages=c,c++ \
|
---|
| 60 | --with-system-zlib \
|
---|
| 61 | --enable-install-libiberty \
|
---|
| 62 | --disable-bootstrap</userinput></screen>
|
---|
[3f8be484] | 63 |
|
---|
[9b4baca] | 64 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 65 | href="../common/gcc.xml"
|
---|
| 66 | xpointer="xpointer(//*[@os='i1'])"/>
|
---|
| 67 |
|
---|
[dabbced] | 68 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 69 | href="../common/gcc.xml"
|
---|
| 70 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
| 71 |
|
---|
[dabbced] | 72 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 73 | href="../common/gcc.xml"
|
---|
| 74 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
| 75 |
|
---|
[dabbced] | 76 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 77 | href="../common/gcc.xml"
|
---|
| 78 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
| 79 |
|
---|
[16fb2c3c] | 80 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 81 | href="../common/gcc.xml"
|
---|
| 82 | xpointer="xpointer(//*[@os='s1'])"/>
|
---|
| 83 |
|
---|
| 84 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 85 | href="../common/gcc.xml"
|
---|
| 86 | xpointer="xpointer(//*[@os='s2'])"/>
|
---|
| 87 |
|
---|
[dabbced] | 88 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 89 | href="../common/gcc.xml"
|
---|
| 90 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
| 91 |
|
---|
[dabbced] | 92 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 93 | href="../common/gcc.xml"
|
---|
| 94 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
| 95 |
|
---|
[dabbced] | 96 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 97 | href="../common/gcc.xml"
|
---|
| 98 | xpointer="xpointer(//*[@os='o'])"/>
|
---|
| 99 |
|
---|
[dabbced] | 100 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 101 | href="../common/gcc.xml"
|
---|
| 102 | xpointer="xpointer(//*[@os='p'])"/>
|
---|
| 103 |
|
---|
[dabbced] | 104 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 105 | href="../common/gcc.xml"
|
---|
| 106 | xpointer="xpointer(//*[@os='q'])"/>
|
---|
| 107 |
|
---|
[dabbced] | 108 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 109 | href="../common/gcc.xml"
|
---|
| 110 | xpointer="xpointer(//*[@os='r'])"/>
|
---|
| 111 |
|
---|
[dabbced] | 112 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 113 | href="../common/gcc.xml"
|
---|
| 114 | xpointer="xpointer(//*[@os='s'])"/>
|
---|
| 115 |
|
---|
[dabbced] | 116 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 117 | href="../common/gcc.xml"
|
---|
| 118 | xpointer="xpointer(//*[@os='t'])"/>
|
---|
| 119 |
|
---|
[dabbced] | 120 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 121 | href="../common/gcc.xml"
|
---|
| 122 | xpointer="xpointer(//*[@os='w'])"/>
|
---|
| 123 |
|
---|
[dabbced] | 124 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 125 | href="../common/gcc.xml"
|
---|
| 126 | xpointer="xpointer(//*[@os='x'])"/>
|
---|
| 127 |
|
---|
[e11c91d] | 128 | <para os="y">Finally, move some misplaced files:</para>
|
---|
| 129 |
|
---|
| 130 |
|
---|
[2fc521b] | 131 | <screen os="z"><userinput>mv -v /usr/lib/libstdc++*gdb.py /usr/share/gdb/auto-load/usr/lib
|
---|
| 132 | mv -v /usr/lib64/libstdc++*gdb.py /usr/share/gdb/auto-load/usr/lib64</userinput></screen>
|
---|
[e11c91d] | 133 |
|
---|
[3f8be484] | 134 | </sect2>
|
---|
| 135 |
|
---|
[dabbced] | 136 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 137 | href="../common/gcc.xml"
|
---|
| 138 | xpointer="xpointer(id('contents-gcc'))"/>
|
---|
| 139 |
|
---|
| 140 | </sect1>
|
---|