[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='d'])"/>
|
---|
| 43 |
|
---|
[dabbced] | 44 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 45 | href="../common/gcc.xml"
|
---|
| 46 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 47 |
|
---|
[dabbced] | 48 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 49 | href="../common/gcc.xml"
|
---|
| 50 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 51 |
|
---|
[dabbced] | 52 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 53 | href="../common/gcc.xml"
|
---|
| 54 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 55 |
|
---|
[dabbced] | 56 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 57 | href="../common/gcc.xml"
|
---|
| 58 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
| 59 |
|
---|
[b6831b6] | 60 | <screen os="i"><userinput>CC="gcc -isystem /usr/include ${BUILD64}" \
|
---|
| 61 | CXX="g++ -isystem /usr/include ${BUILD64}" \
|
---|
| 62 | LDFLAGS="-Wl,-rpath-link,/usr/lib64:/lib64:/usr/lib:/lib" \
|
---|
| 63 | ../gcc-&gcc-version;/configure --prefix=/usr --libdir=/usr/lib64 \
|
---|
[3f8be484] | 64 | --libexecdir=/usr/lib64 --enable-shared --enable-threads=posix \
|
---|
| 65 | --enable-__cxa_atexit --enable-c99 --enable-long-long \
|
---|
[84b164e] | 66 | --enable-clocale=gnu --enable-languages=c,c++ --disable-libstdcxx-pch \
|
---|
[c2df4dc] | 67 | --enable-cloog-backend=isl --disable-isl-version-check --with-system-zlib \
|
---|
[3c54c0a] | 68 | --enable-checking=release --enable-libstdcxx-time \
|
---|
| 69 | --disable-install-libiberty</userinput></screen>
|
---|
[3f8be484] | 70 |
|
---|
[dabbced] | 71 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 72 | href="../common/gcc.xml"
|
---|
| 73 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
| 74 |
|
---|
[dabbced] | 75 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 76 | href="../common/gcc.xml"
|
---|
| 77 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
| 78 |
|
---|
[dabbced] | 79 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 80 | href="../common/gcc.xml"
|
---|
| 81 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
| 82 |
|
---|
[dabbced] | 83 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 84 | href="../common/gcc.xml"
|
---|
| 85 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
| 86 |
|
---|
[dabbced] | 87 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 88 | href="../common/gcc.xml"
|
---|
| 89 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
| 90 |
|
---|
[dabbced] | 91 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 92 | href="../common/gcc.xml"
|
---|
| 93 | xpointer="xpointer(//*[@os='o'])"/>
|
---|
| 94 |
|
---|
[dabbced] | 95 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 96 | href="../common/gcc.xml"
|
---|
| 97 | xpointer="xpointer(//*[@os='p'])"/>
|
---|
| 98 |
|
---|
[dabbced] | 99 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 100 | href="../common/gcc.xml"
|
---|
| 101 | xpointer="xpointer(//*[@os='q'])"/>
|
---|
| 102 |
|
---|
[dabbced] | 103 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 104 | href="../common/gcc.xml"
|
---|
| 105 | xpointer="xpointer(//*[@os='r'])"/>
|
---|
| 106 |
|
---|
[dabbced] | 107 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 108 | href="../common/gcc.xml"
|
---|
| 109 | xpointer="xpointer(//*[@os='s'])"/>
|
---|
| 110 |
|
---|
[dabbced] | 111 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 112 | href="../common/gcc.xml"
|
---|
| 113 | xpointer="xpointer(//*[@os='t'])"/>
|
---|
| 114 |
|
---|
[dabbced] | 115 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 116 | href="../common/gcc.xml"
|
---|
| 117 | xpointer="xpointer(//*[@os='u'])"/>
|
---|
| 118 |
|
---|
[dabbced] | 119 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 120 | href="../common/gcc.xml"
|
---|
| 121 | xpointer="xpointer(//*[@os='v'])"/>
|
---|
| 122 |
|
---|
[dabbced] | 123 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 124 | href="../common/gcc.xml"
|
---|
| 125 | xpointer="xpointer(//*[@os='w'])"/>
|
---|
| 126 |
|
---|
[dabbced] | 127 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 128 | href="../common/gcc.xml"
|
---|
| 129 | xpointer="xpointer(//*[@os='x'])"/>
|
---|
| 130 |
|
---|
[e11c91d] | 131 | <para os="y">Finally, move some misplaced files:</para>
|
---|
| 132 |
|
---|
| 133 |
|
---|
| 134 | <screen os="z"><userinput>mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib
|
---|
| 135 | mv -v /usr/lib64/*gdb.py /usr/share/gdb/auto-load/usr/lib64</userinput></screen>
|
---|
| 136 |
|
---|
[3f8be484] | 137 | </sect2>
|
---|
| 138 |
|
---|
[dabbced] | 139 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 140 | href="../common/gcc.xml"
|
---|
| 141 | xpointer="xpointer(id('contents-gcc'))"/>
|
---|
| 142 |
|
---|
| 143 | </sect1>
|
---|