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

Last change on this file since 22923d0 was 6533111, checked in by Jim Gifford <clfs@…>, 16 years ago

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