[bf8c11f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" |
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ |
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent"> |
---|
| 5 | <!ENTITY % patches-entities SYSTEM "../../patches.ent"> |
---|
| 6 | %general-entities; |
---|
| 7 | %patches-entities; |
---|
| 8 | ]> |
---|
| 9 | |
---|
| 10 | <sect1 id="ch-system-gcc" role="wrap"> |
---|
| 11 | <?dbhtml filename="gcc.html"?> |
---|
| 12 | |
---|
| 13 | <title>GCC-&gcc-version;</title> |
---|
| 14 | |
---|
| 15 | <indexterm zone="ch-system-gcc"> |
---|
| 16 | <primary sortas="a-GCC">GCC</primary> |
---|
| 17 | </indexterm> |
---|
| 18 | |
---|
[65d82b0] | 19 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 20 | href="../common/gcc.xml" |
---|
| 21 | xpointer="xpointer(//*[@role='package'])"/> |
---|
[bf8c11f] | 22 | |
---|
| 23 | <sect2 role="installation"> |
---|
| 24 | <title>Installation of GCC</title> |
---|
| 25 | |
---|
| 26 | <para os="ma">The following patch ensures that TLS is utilized by GCC |
---|
| 27 | for MIPS:</para> |
---|
| 28 | |
---|
| 29 | <screen os="mb"><userinput>patch -Np1 -i ../&gcc-mips_tls-patch;</userinput></screen> |
---|
| 30 | |
---|
| 31 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 32 | href="../common/gcc.xml" |
---|
| 33 | xpointer="xpointer(//*[@os='d'])"/> |
---|
| 34 | |
---|
| 35 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 36 | href="../common/gcc.xml" |
---|
| 37 | xpointer="xpointer(//*[@os='e'])"/> |
---|
| 38 | |
---|
| 39 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 40 | href="../common/gcc.xml" |
---|
| 41 | xpointer="xpointer(//*[@os='f'])"/> |
---|
| 42 | |
---|
| 43 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 44 | href="../common/gcc.xml" |
---|
| 45 | xpointer="xpointer(//*[@os='g'])"/> |
---|
| 46 | |
---|
| 47 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 48 | href="../common/gcc.xml" |
---|
| 49 | xpointer="xpointer(//*[@os='h'])"/> |
---|
| 50 | |
---|
| 51 | <screen><userinput>../gcc-&gcc-version;/configure --prefix=/usr \ |
---|
| 52 | --libexecdir=/usr/lib --enable-shared --enable-threads=posix \ |
---|
| 53 | --enable-__cxa_atexit --enable-c99 --enable-long-long \ |
---|
| 54 | --enable-clocale=gnu --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen> |
---|
| 55 | |
---|
| 56 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 57 | href="../common/gcc.xml" |
---|
| 58 | xpointer="xpointer(//*[@os='i'])"/> |
---|
| 59 | |
---|
| 60 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 61 | href="../common/gcc.xml" |
---|
| 62 | xpointer="xpointer(//*[@os='j'])"/> |
---|
| 63 | |
---|
| 64 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 65 | href="../common/gcc.xml" |
---|
| 66 | xpointer="xpointer(//*[@os='k'])"/> |
---|
| 67 | |
---|
| 68 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 69 | href="../common/gcc.xml" |
---|
| 70 | xpointer="xpointer(//*[@os='l'])"/> |
---|
| 71 | |
---|
| 72 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 73 | href="../common/gcc.xml" |
---|
| 74 | xpointer="xpointer(//*[@os='m'])"/> |
---|
| 75 | |
---|
| 76 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 77 | href="../common/gcc.xml" |
---|
| 78 | xpointer="xpointer(//*[@os='n'])"/> |
---|
| 79 | |
---|
| 80 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 81 | href="../common/gcc.xml" |
---|
| 82 | xpointer="xpointer(//*[@os='o'])"/> |
---|
| 83 | |
---|
| 84 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 85 | href="../common/gcc.xml" |
---|
| 86 | xpointer="xpointer(//*[@os='p'])"/> |
---|
| 87 | |
---|
| 88 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 89 | href="../common/gcc.xml" |
---|
| 90 | xpointer="xpointer(//*[@os='q'])"/> |
---|
| 91 | |
---|
| 92 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 93 | href="../common/gcc.xml" |
---|
| 94 | xpointer="xpointer(//*[@os='r'])"/> |
---|
| 95 | |
---|
| 96 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 97 | href="../common/gcc.xml" |
---|
| 98 | xpointer="xpointer(//*[@os='s'])"/> |
---|
| 99 | |
---|
| 100 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 101 | href="../common/gcc.xml" |
---|
| 102 | xpointer="xpointer(//*[@os='t'])"/> |
---|
| 103 | |
---|
| 104 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 105 | href="../common/gcc.xml" |
---|
| 106 | xpointer="xpointer(//*[@os='u'])"/> |
---|
| 107 | |
---|
| 108 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 109 | href="../common/gcc.xml" |
---|
| 110 | xpointer="xpointer(//*[@os='v'])"/> |
---|
| 111 | |
---|
| 112 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 113 | href="../common/gcc.xml" |
---|
| 114 | xpointer="xpointer(//*[@os='w'])"/> |
---|
| 115 | |
---|
| 116 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 117 | href="../common/gcc.xml" |
---|
| 118 | xpointer="xpointer(//*[@os='x'])"/> |
---|
| 119 | |
---|
| 120 | </sect2> |
---|
| 121 | |
---|
| 122 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 123 | href="../common/gcc.xml" |
---|
| 124 | xpointer="xpointer(id('contents-gcc'))"/> |
---|
| 125 | |
---|
| 126 | </sect1> |
---|