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

Last change on this file since bbf155c was 3ec3099, checked in by Jim Gifford <clfs@…>, 16 years ago

Added Missing Files and Package Updates

  • Property mode set to 100644
File size: 5.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
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='p1'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="gcc-static.xml"
31 xpointer="xpointer(//*[@os='p2'])"/>
32
33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
34 href="gcc-static.xml"
35 xpointer="xpointer(//*[@os='p3'])"/>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="gcc-static.xml"
39 xpointer="xpointer(//*[@os='p4'])"/>
40
41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
42 href="gcc-static.xml"
43 xpointer="xpointer(//*[@os='c'])"/>
44
45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46 href="gcc-static.xml"
47 xpointer="xpointer(//*[@os='d'])"/>
48
49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
50 href="gcc-static.xml"
51 xpointer="xpointer(//*[@os='e'])"/>
52
53<screen os="ae"><userinput>../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \
54 --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \
55 --with-sysroot=${CLFS} --disable-nls --enable-shared \
56 --enable-languages=c --enable-c99 --enable-long-long \
57 --with-mpfr=/cross-tools --with-gmp=/cross-tools</userinput></screen>
58
59 <variablelist os="af">
60 <title>The meaning of the new configure options:</title>
61
62 <varlistentry os="af1">
63 <term><parameter>--enable-languages=c</parameter></term>
64 <listitem>
65 <para>This option ensures that only the C compiler is built.</para>
66 </listitem>
67 </varlistentry>
68
69 <varlistentry os="af2">
70 <term><parameter>--enable-c99</parameter></term>
71 <listitem>
72 <para>Enable C99 support for C programs.</para>
73 </listitem>
74 </varlistentry>
75
76 <varlistentry os="af3">
77 <term><parameter>--enable-long-long</parameter></term>
78 <listitem>
79 <para>Enables long long support in the compiler.</para>
80 </listitem>
81 </varlistentry>
82
83 </variablelist>
84
85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
86 href="gcc-static.xml"
87 xpointer="xpointer(//*[@os='ag'])"/>
88
89<screen os="ah"><userinput>make</userinput></screen>
90
91 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
92 href="gcc-static.xml"
93 xpointer="xpointer(//*[@os='ai'])"/>
94
95<screen os="aj"><userinput>make install</userinput></screen>
96
97 </sect2>
98
99 <sect2 id="contents-gcc" role="content">
100 <title>Contents of GCC</title>
101
102 <segmentedlist>
103 <segtitle>Installed programs</segtitle>
104 <segtitle>Installed libraries</segtitle>
105
106 <seglistitem>
107 <seg>cc (link to gcc), gcc, gccbug, and gcov</seg>
108 <seg>libgcc.a, libgcc_eh.a, libgcc_s.so, libmudflap.[a,so],
109 and libmudflapth.[a,so]</seg>
110 </seglistitem>
111 </segmentedlist>
112
113 <variablelist>
114 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
115 <?dbfo list-presentation="list"?>
116 <?dbhtml list-presentation="table"?>
117
118 <varlistentry id="cc">
119 <term><command>cc</command></term>
120 <listitem>
121 <para>The C compiler</para>
122 <indexterm zone="ch-cross-tools-gcc-final cc">
123 <primary sortas="b-cc">cc</primary>
124 </indexterm>
125 </listitem>
126 </varlistentry>
127
128 <varlistentry id="gcc">
129 <term><command>gcc</command></term>
130 <listitem>
131 <para>The C compiler</para>
132 <indexterm zone="ch-cross-tools-gcc-final gcc">
133 <primary sortas="b-gcc">gcc</primary>
134 </indexterm>
135 </listitem>
136 </varlistentry>
137
138 <varlistentry id="gccbug">
139 <term><command>gccbug</command></term>
140 <listitem>
141 <para>A shell script used to help create useful bug reports</para>
142 <indexterm zone="ch-cross-tools-gcc-final gccbug">
143 <primary sortas="b-gccbug">gccbug</primary>
144 </indexterm>
145 </listitem>
146 </varlistentry>
147
148 <varlistentry id="gcov">
149 <term><command>gcov</command></term>
150 <listitem>
151 <para>A coverage testing tool; it is used to analyze programs to
152 determine where optimizations will have the most effect</para>
153 <indexterm zone="ch-cross-tools-gcc-final gcov">
154 <primary sortas="b-gcov">gcov</primary>
155 </indexterm>
156 </listitem>
157 </varlistentry>
158
159 <varlistentry id="libgcc">
160 <term><filename class="libraryfile">libgcc</filename></term>
161 <listitem>
162 <para>Contains run-time support for <command>gcc</command></para>
163 <indexterm zone="ch-cross-tools-gcc-final libgcc">
164 <primary sortas="c-libgcc*">libgcc*</primary>
165 </indexterm>
166 </listitem>
167 </varlistentry>
168
169 <varlistentry id="libmudflap">
170 <term><filename class="libraryfile">libmudflap</filename></term>
171 <listitem>
172 <para>The libmudflap libraries are used by GCC for instrumenting
173 pointer and array dereferencing operations.</para>
174 <indexterm zone="ch-cross-tools-gcc-final libmudflap">
175 <primary sortas="c-libmudflap*">libmudflap*</primary>
176 </indexterm>
177 </listitem>
178 </varlistentry>
179
180 </variablelist>
181
182 </sect2>
183
184</sect1>
Note: See TracBrowser for help on using the repository browser.