[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" \
|
---|
| 55 | ../gcc-&gcc-version;/configure --prefix=/usr --libdir=/usr/lib64 \
|
---|
[3f8be484] | 56 | --libexecdir=/usr/lib64 --enable-shared --enable-threads=posix \
|
---|
| 57 | --enable-__cxa_atexit --enable-c99 --enable-long-long \
|
---|
[84b164e] | 58 | --enable-clocale=gnu --enable-languages=c,c++ --disable-libstdcxx-pch \
|
---|
[0b89da6] | 59 | --with-system-zlib --enable-checking=release --enable-libstdcxx-time</userinput></screen>
|
---|
[3f8be484] | 60 |
|
---|
[9b4baca] | 61 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 62 | href="../common/gcc.xml"
|
---|
| 63 | xpointer="xpointer(//*[@os='i1'])"/>
|
---|
| 64 |
|
---|
[dabbced] | 65 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 66 | href="../common/gcc.xml"
|
---|
| 67 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
| 68 |
|
---|
[dabbced] | 69 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 70 | href="../common/gcc.xml"
|
---|
| 71 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
| 72 |
|
---|
[dabbced] | 73 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 74 | href="../common/gcc.xml"
|
---|
| 75 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
| 76 |
|
---|
[16fb2c3c] | 77 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 78 | href="../common/gcc.xml"
|
---|
| 79 | xpointer="xpointer(//*[@os='s1'])"/>
|
---|
| 80 |
|
---|
| 81 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 82 | href="../common/gcc.xml"
|
---|
| 83 | xpointer="xpointer(//*[@os='s2'])"/>
|
---|
| 84 |
|
---|
[dabbced] | 85 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 86 | href="../common/gcc.xml"
|
---|
| 87 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
| 88 |
|
---|
[dabbced] | 89 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 90 | href="../common/gcc.xml"
|
---|
| 91 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
| 92 |
|
---|
[dabbced] | 93 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 94 | href="../common/gcc.xml"
|
---|
| 95 | xpointer="xpointer(//*[@os='o'])"/>
|
---|
| 96 |
|
---|
[dabbced] | 97 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 98 | href="../common/gcc.xml"
|
---|
| 99 | xpointer="xpointer(//*[@os='p'])"/>
|
---|
| 100 |
|
---|
[dabbced] | 101 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 102 | href="../common/gcc.xml"
|
---|
| 103 | xpointer="xpointer(//*[@os='q'])"/>
|
---|
| 104 |
|
---|
[dabbced] | 105 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 106 | href="../common/gcc.xml"
|
---|
| 107 | xpointer="xpointer(//*[@os='r'])"/>
|
---|
| 108 |
|
---|
[dabbced] | 109 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 110 | href="../common/gcc.xml"
|
---|
| 111 | xpointer="xpointer(//*[@os='s'])"/>
|
---|
| 112 |
|
---|
[dabbced] | 113 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 114 | href="../common/gcc.xml"
|
---|
| 115 | xpointer="xpointer(//*[@os='t'])"/>
|
---|
| 116 |
|
---|
[dabbced] | 117 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 118 | href="../common/gcc.xml"
|
---|
| 119 | xpointer="xpointer(//*[@os='u'])"/>
|
---|
| 120 |
|
---|
[dabbced] | 121 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 122 | href="../common/gcc.xml"
|
---|
| 123 | xpointer="xpointer(//*[@os='v'])"/>
|
---|
| 124 |
|
---|
[dabbced] | 125 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 126 | href="../common/gcc.xml"
|
---|
| 127 | xpointer="xpointer(//*[@os='w'])"/>
|
---|
| 128 |
|
---|
[dabbced] | 129 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 130 | href="../common/gcc.xml"
|
---|
| 131 | xpointer="xpointer(//*[@os='x'])"/>
|
---|
| 132 |
|
---|
[e11c91d] | 133 | <para os="y">Finally, move some misplaced files:</para>
|
---|
| 134 |
|
---|
| 135 |
|
---|
[2fc521b] | 136 | <screen os="z"><userinput>mv -v /usr/lib/libstdc++*gdb.py /usr/share/gdb/auto-load/usr/lib
|
---|
| 137 | mv -v /usr/lib64/libstdc++*gdb.py /usr/share/gdb/auto-load/usr/lib64</userinput></screen>
|
---|
[e11c91d] | 138 |
|
---|
[3f8be484] | 139 | </sect2>
|
---|
| 140 |
|
---|
[dabbced] | 141 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 142 | href="../common/gcc.xml"
|
---|
| 143 | xpointer="xpointer(id('contents-gcc'))"/>
|
---|
| 144 |
|
---|
| 145 | </sect1>
|
---|