source: clfs-sysroot/BOOK/cross-tools/common/gcc-static.xml@ 8f15d01

Last change on this file since 8f15d01 was a348fd9, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Updated Bison to 2.4.1.
Updated the Bootscripts to 1.2-pre2.
Updated Coreutils to 6.12.
Updated E2fsprogs to 1.41.3.
Updated File to 4.2.6.
Updated Findutils to 4.2.31.
Updated Flex to 2.5.35.
Updated Gawk to 3.1.6.
Updated GCC to 4.3.2.
Updated Gettext to 0.17.
Updated IANA-ETC to 2.30.
Updated Inetutils to 1.6.
Updated Kbd to 1.15.
Updated Less to 418.

  • Property mode set to 100644
File size: 3.1 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-static" role="wrap">
9 <?dbhtml filename="gcc-static.html"?>
10
11 <title>Cross GCC-&gcc-version; - Static</title>
12
13 <indexterm zone="ch-cross-tools-gcc-static">
14 <primary sortas="a-GCC">GCC</primary>
15 <secondary>cross tools, static</secondary>
16 </indexterm>
17
18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../final-system/common/gcc.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of Cross GCC Compiler with Static libgcc
24 and no Threads</title>
25
26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
27 href="../../final-system/common/gcc.xml"
28 xpointer="xpointer(//*[@os='p1'])"/>
29
30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
31 href="../../final-system/common/gcc.xml"
32 xpointer="xpointer(//*[@os='p2'])"/>
33
34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
35 href="../../final-system/common/gcc.xml"
36 xpointer="xpointer(//*[@os='c'])"/>
37
38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
39 href="../../final-system/common/gcc.xml"
40 xpointer="xpointer(//*[@os='d'])"/>
41
42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
43 href="../../final-system/common/gcc.xml"
44 xpointer="xpointer(//*[@os='e'])"/>
45
46<screen os="ae"><userinput>../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \
47 --host=${CLFS_HOST} --target=${CLFS_TARGET} --disable-multilib \
48 --with-sysroot=${CLFS} --disable-nls --disable-shared \
49 --enable-languages=c</userinput></screen>
50
51 <variablelist os="af">
52 <title>The meaning of the configure options:</title>
53
54 <varlistentry>
55 <term><parameter>--disable-shared</parameter></term>
56 <listitem>
57 <para>Disables the creation of the shared libraries.</para>
58 </listitem>
59 </varlistentry>
60
61 <varlistentry>
62 <term><parameter>--disable-threads</parameter></term>
63 <listitem>
64 <para>This will prevent GCC from looking for the multi-thread
65 include files, since they haven't been created for this architecture
66 yet. GCC will be able to find the multi-thread information after
67 the Glibc headers are created.</para>
68 </listitem>
69 </varlistentry>
70
71 <varlistentry>
72 <term><parameter>--enable-languages=c</parameter></term>
73 <listitem>
74 <para>This option ensures that only the C compiler is built.</para>
75 </listitem>
76 </varlistentry>
77
78 </variablelist>
79
80 <para os="ag">Continue with compiling the package:</para>
81
82<screen os="ah"><userinput>make all-gcc</userinput></screen>
83
84 <para os="ai">Install the package:</para>
85
86<screen os="aj"><userinput>make install-gcc</userinput></screen>
87
88 </sect2>
89
90 <sect2 role="content">
91 <title/>
92
93 <para>Details on this package are located in <xref
94 linkend="contents-gcc" role="."/></para>
95
96 </sect2>
97
98</sect1>
Note: See TracBrowser for help on using the repository browser.