[a9e389d] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[bd48e48] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[a9e389d] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[bd0ad10] | 8 | <!-- Common GCC-Final -->
|
---|
| 9 |
|
---|
[a9e389d] | 10 | <sect1 id="ch-cross-tools-gcc-final" role="wrap">
|
---|
| 11 | <?dbhtml filename="gcc-final.html"?>
|
---|
| 12 |
|
---|
| 13 | <title>GCC-&gcc-version; - Cross Compiler Final</title>
|
---|
| 14 |
|
---|
| 15 | <indexterm zone="ch-cross-tools-gcc-final">
|
---|
| 16 | <primary sortas="a-GCC">GCC</primary>
|
---|
| 17 | <secondary>cross tools, final</secondary>
|
---|
| 18 | </indexterm>
|
---|
| 19 |
|
---|
[bd0ad10] | 20 | <xi:include role="package" xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9e389d] | 21 | href="gcc-static.xml"
|
---|
| 22 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
| 23 |
|
---|
| 24 | <sect2 role="installation">
|
---|
| 25 | <title>Installation of GCC Cross Compiler</title>
|
---|
| 26 |
|
---|
[bd0ad10] | 27 | <xi:include os="c" xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9e389d] | 28 | href="gcc-static.xml"
|
---|
| 29 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 30 |
|
---|
[bd0ad10] | 31 | <xi:include os="d" xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9e389d] | 32 | href="gcc-static.xml"
|
---|
| 33 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 34 |
|
---|
[bd0ad10] | 35 | <xi:include os="e" xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9e389d] | 36 | href="gcc-static.xml"
|
---|
| 37 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 38 |
|
---|
[bd0ad10] | 39 | <!-- This is the common configure line for GCC-Final -->
|
---|
| 40 | <!-- It's not actually used by any arch but is here for reference. -->
|
---|
[35e0963] | 41 | <screen os="ae"><userinput>AR=ar LDFLAGS="-Wl,-rpath,${CLFS}/cross-tools/lib" \
|
---|
| 42 | ../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \
|
---|
[e1b2402] | 43 | --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \
|
---|
| 44 | --with-sysroot=${CLFS} --disable-nls --enable-shared \
|
---|
| 45 | --enable-languages=c --enable-c99 --enable-long-long \
|
---|
[65b296c] | 46 | --with-mpfr=${CLFS}/cross-tools --with-gmp=${CLFS}/cross-tools \
|
---|
[a20c17d] | 47 | --with-mpc=${CLFS}/cross-tools --disable-multilib</userinput></screen>
|
---|
[a9e389d] | 48 |
|
---|
| 49 | <variablelist os="af">
|
---|
[65b296c] | 50 | <title>The meaning of the configure options not used previously:</title>
|
---|
[a9e389d] | 51 |
|
---|
| 52 | <varlistentry os="af1">
|
---|
[65b296c] | 53 | <term><parameter>--enable-shared</parameter></term>
|
---|
[a9e389d] | 54 | <listitem>
|
---|
[65b296c] | 55 | <para>Enables the creation of the shared libraries.</para>
|
---|
[a9e389d] | 56 | </listitem>
|
---|
| 57 | </varlistentry>
|
---|
| 58 |
|
---|
| 59 | <varlistentry os="af2">
|
---|
| 60 | <term><parameter>--enable-c99</parameter></term>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>Enable C99 support for C programs.</para>
|
---|
| 63 | </listitem>
|
---|
| 64 | </varlistentry>
|
---|
| 65 |
|
---|
[e1b2402] | 66 | <varlistentry os="af3">
|
---|
[a9e389d] | 67 | <term><parameter>--enable-long-long</parameter></term>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>Enables long long support in the compiler.</para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </varlistentry>
|
---|
| 72 |
|
---|
| 73 | </variablelist>
|
---|
| 74 |
|
---|
[bd0ad10] | 75 | <xi:include os="ah" xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9e389d] | 76 | href="gcc-static.xml"
|
---|
[ae51e2a] | 77 | xpointer="xpointer(//*[@os='ah'])"/>
|
---|
[a9e389d] | 78 |
|
---|
[bd0ad10] | 79 | <screen os="ai"><userinput>make</userinput></screen>
|
---|
[a9e389d] | 80 |
|
---|
[bd0ad10] | 81 | <xi:include os="aj" xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9e389d] | 82 | href="gcc-static.xml"
|
---|
[ae51e2a] | 83 | xpointer="xpointer(//*[@os='aj'])"/>
|
---|
[a9e389d] | 84 |
|
---|
[bd0ad10] | 85 | <screen os="ak"><userinput>make install</userinput></screen>
|
---|
[a9e389d] | 86 |
|
---|
| 87 | </sect2>
|
---|
| 88 |
|
---|
| 89 | <sect2 id="contents-gcc" role="content">
|
---|
| 90 | <title>Contents of GCC</title>
|
---|
| 91 |
|
---|
| 92 | <segmentedlist>
|
---|
| 93 | <segtitle>Installed programs</segtitle>
|
---|
| 94 | <segtitle>Installed libraries</segtitle>
|
---|
| 95 |
|
---|
| 96 | <seglistitem>
|
---|
[e1b2402] | 97 | <seg>cc (link to gcc), gcc, gccbug, and gcov</seg>
|
---|
[a9e389d] | 98 | <seg>libgcc.a, libgcc_eh.a, libgcc_s.so, libmudflap.[a,so],
|
---|
[e1b2402] | 99 | and libmudflapth.[a,so]</seg>
|
---|
[a9e389d] | 100 | </seglistitem>
|
---|
| 101 | </segmentedlist>
|
---|
| 102 |
|
---|
| 103 | <variablelist>
|
---|
| 104 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 105 | <?dbfo list-presentation="list"?>
|
---|
| 106 | <?dbhtml list-presentation="table"?>
|
---|
| 107 |
|
---|
| 108 | <varlistentry id="cc">
|
---|
| 109 | <term><command>cc</command></term>
|
---|
| 110 | <listitem>
|
---|
| 111 | <para>The C compiler</para>
|
---|
[6561a0f] | 112 | <indexterm zone="ch-cross-tools-gcc-final cc">
|
---|
[a9e389d] | 113 | <primary sortas="b-cc">cc</primary>
|
---|
| 114 | </indexterm>
|
---|
| 115 | </listitem>
|
---|
| 116 | </varlistentry>
|
---|
| 117 |
|
---|
| 118 | <varlistentry id="gcc">
|
---|
| 119 | <term><command>gcc</command></term>
|
---|
| 120 | <listitem>
|
---|
| 121 | <para>The C compiler</para>
|
---|
[6561a0f] | 122 | <indexterm zone="ch-cross-tools-gcc-final gcc">
|
---|
[a9e389d] | 123 | <primary sortas="b-gcc">gcc</primary>
|
---|
| 124 | </indexterm>
|
---|
| 125 | </listitem>
|
---|
| 126 | </varlistentry>
|
---|
| 127 |
|
---|
| 128 | <varlistentry id="gccbug">
|
---|
| 129 | <term><command>gccbug</command></term>
|
---|
| 130 | <listitem>
|
---|
| 131 | <para>A shell script used to help create useful bug reports</para>
|
---|
[6561a0f] | 132 | <indexterm zone="ch-cross-tools-gcc-final gccbug">
|
---|
[a9e389d] | 133 | <primary sortas="b-gccbug">gccbug</primary>
|
---|
| 134 | </indexterm>
|
---|
| 135 | </listitem>
|
---|
| 136 | </varlistentry>
|
---|
| 137 |
|
---|
| 138 | <varlistentry id="gcov">
|
---|
| 139 | <term><command>gcov</command></term>
|
---|
| 140 | <listitem>
|
---|
| 141 | <para>A coverage testing tool; it is used to analyze programs to
|
---|
| 142 | determine where optimizations will have the most effect</para>
|
---|
[6561a0f] | 143 | <indexterm zone="ch-cross-tools-gcc-final gcov">
|
---|
[a9e389d] | 144 | <primary sortas="b-gcov">gcov</primary>
|
---|
| 145 | </indexterm>
|
---|
| 146 | </listitem>
|
---|
| 147 | </varlistentry>
|
---|
| 148 |
|
---|
| 149 | <varlistentry id="libgcc">
|
---|
| 150 | <term><filename class="libraryfile">libgcc</filename></term>
|
---|
| 151 | <listitem>
|
---|
| 152 | <para>Contains run-time support for <command>gcc</command></para>
|
---|
[6561a0f] | 153 | <indexterm zone="ch-cross-tools-gcc-final libgcc">
|
---|
[a9e389d] | 154 | <primary sortas="c-libgcc*">libgcc*</primary>
|
---|
| 155 | </indexterm>
|
---|
| 156 | </listitem>
|
---|
| 157 | </varlistentry>
|
---|
| 158 |
|
---|
| 159 | <varlistentry id="libmudflap">
|
---|
| 160 | <term><filename class="libraryfile">libmudflap</filename></term>
|
---|
| 161 | <listitem>
|
---|
| 162 | <para>The libmudflap libraries are used by GCC for instrumenting
|
---|
| 163 | pointer and array dereferencing operations.</para>
|
---|
[6561a0f] | 164 | <indexterm zone="ch-cross-tools-gcc-final libmudflap">
|
---|
[a9e389d] | 165 | <primary sortas="c-libmudflap*">libmudflap*</primary>
|
---|
| 166 | </indexterm>
|
---|
| 167 | </listitem>
|
---|
| 168 | </varlistentry>
|
---|
| 169 |
|
---|
| 170 | </variablelist>
|
---|
| 171 |
|
---|
| 172 | </sect2>
|
---|
| 173 |
|
---|
| 174 | </sect1>
|
---|