source: clfs-embedded/BOOK/cross-tools/common/gcc-final.xml@ 87d09b7

Last change on this file since 87d09b7 was 35e0963, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Initial Upgrade of GCC to 4.5.1. MPC needs to be added.

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