[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 |
|
---|
[b6831b6] | 52 | <screen os="i"><userinput>CC="gcc -isystem /usr/include ${BUILD64}" \
|
---|
| 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 \
|
---|
[00fc57e7] | 59 | --disable-isl-version-check --with-system-zlib \
|
---|
[3d66e17] | 60 | --enable-checking=release --enable-libstdcxx-time</userinput></screen>
|
---|
[3f8be484] | 61 |
|
---|
[dabbced] | 62 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 63 | href="../common/gcc.xml"
|
---|
| 64 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
| 65 |
|
---|
[dabbced] | 66 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 67 | href="../common/gcc.xml"
|
---|
| 68 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
| 69 |
|
---|
[dabbced] | 70 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 71 | href="../common/gcc.xml"
|
---|
| 72 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
| 73 |
|
---|
[16fb2c3c] | 74 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 75 | href="../common/gcc.xml"
|
---|
| 76 | xpointer="xpointer(//*[@os='s1'])"/>
|
---|
| 77 |
|
---|
| 78 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 79 | href="../common/gcc.xml"
|
---|
| 80 | xpointer="xpointer(//*[@os='s2'])"/>
|
---|
| 81 |
|
---|
[dabbced] | 82 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 83 | href="../common/gcc.xml"
|
---|
| 84 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
| 85 |
|
---|
[dabbced] | 86 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 87 | href="../common/gcc.xml"
|
---|
| 88 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
| 89 |
|
---|
[dabbced] | 90 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 91 | href="../common/gcc.xml"
|
---|
| 92 | xpointer="xpointer(//*[@os='o'])"/>
|
---|
| 93 |
|
---|
[dabbced] | 94 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 95 | href="../common/gcc.xml"
|
---|
| 96 | xpointer="xpointer(//*[@os='p'])"/>
|
---|
| 97 |
|
---|
[dabbced] | 98 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 99 | href="../common/gcc.xml"
|
---|
| 100 | xpointer="xpointer(//*[@os='q'])"/>
|
---|
| 101 |
|
---|
[dabbced] | 102 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 103 | href="../common/gcc.xml"
|
---|
| 104 | xpointer="xpointer(//*[@os='r'])"/>
|
---|
| 105 |
|
---|
[dabbced] | 106 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 107 | href="../common/gcc.xml"
|
---|
| 108 | xpointer="xpointer(//*[@os='s'])"/>
|
---|
| 109 |
|
---|
[dabbced] | 110 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 111 | href="../common/gcc.xml"
|
---|
| 112 | xpointer="xpointer(//*[@os='t'])"/>
|
---|
| 113 |
|
---|
[dabbced] | 114 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 115 | href="../common/gcc.xml"
|
---|
| 116 | xpointer="xpointer(//*[@os='u'])"/>
|
---|
| 117 |
|
---|
[dabbced] | 118 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 119 | href="../common/gcc.xml"
|
---|
| 120 | xpointer="xpointer(//*[@os='v'])"/>
|
---|
| 121 |
|
---|
[dabbced] | 122 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 123 | href="../common/gcc.xml"
|
---|
| 124 | xpointer="xpointer(//*[@os='w'])"/>
|
---|
| 125 |
|
---|
[dabbced] | 126 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 127 | href="../common/gcc.xml"
|
---|
| 128 | xpointer="xpointer(//*[@os='x'])"/>
|
---|
| 129 |
|
---|
[e11c91d] | 130 | <para os="y">Finally, move some misplaced files:</para>
|
---|
| 131 |
|
---|
| 132 |
|
---|
| 133 | <screen os="z"><userinput>mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib
|
---|
| 134 | mv -v /usr/lib64/*gdb.py /usr/share/gdb/auto-load/usr/lib64</userinput></screen>
|
---|
| 135 |
|
---|
[3f8be484] | 136 | </sect2>
|
---|
| 137 |
|
---|
[dabbced] | 138 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 139 | href="../common/gcc.xml"
|
---|
| 140 | xpointer="xpointer(id('contents-gcc'))"/>
|
---|
| 141 |
|
---|
| 142 | </sect1>
|
---|