1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | <!ENTITY % patches-entities SYSTEM "../../patches.ent">
|
---|
6 | %general-entities;
|
---|
7 | %patches-entities;
|
---|
8 | ]>
|
---|
9 |
|
---|
10 | <sect1 id="ch-cross-tools-gcc-static" role="wrap">
|
---|
11 | <?dbhtml filename="gcc-static.html"?>
|
---|
12 |
|
---|
13 | <title>Cross GCC-&gcc-version; - Static</title>
|
---|
14 |
|
---|
15 | <indexterm zone="ch-cross-tools-gcc-static">
|
---|
16 | <primary sortas="a-GCC">GCC</primary>
|
---|
17 | <secondary>cross tools, static</secondary>
|
---|
18 | </indexterm>
|
---|
19 |
|
---|
20 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
21 | href="../../final-system/common/gcc.xml"
|
---|
22 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
23 |
|
---|
24 | <sect2 role="installation">
|
---|
25 | <title>Installation of Cross GCC Compiler with Static libgcc
|
---|
26 | and no Threads</title>
|
---|
27 |
|
---|
28 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
29 | href="../x86/gcc-static.xml"
|
---|
30 | xpointer="xpointer(//*[@os='aa'])"/>
|
---|
31 |
|
---|
32 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
33 | href="../x86/gcc-static.xml"
|
---|
34 | xpointer="xpointer(//*[@os='ab'])"/>
|
---|
35 |
|
---|
36 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
37 | href="../x86/gcc-static.xml"
|
---|
38 | xpointer="xpointer(//*[@os='ac'])"/>
|
---|
39 |
|
---|
40 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
41 | href="../x86/gcc-static.xml"
|
---|
42 | xpointer="xpointer(//*[@os='ad'])"/>
|
---|
43 |
|
---|
44 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
45 | href="../x86/gcc-static.xml"
|
---|
46 | xpointer="xpointer(//*[@os='ae'])"/>
|
---|
47 |
|
---|
48 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
49 | href="../x86/gcc-static.xml"
|
---|
50 | xpointer="xpointer(//*[@os='af'])"/>
|
---|
51 |
|
---|
52 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
53 | href="../../final-system/mips/gcc.xml"
|
---|
54 | xpointer="xpointer(//*[@os='ma'])"/>
|
---|
55 |
|
---|
56 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
57 | href="../../final-system/mips/gcc.xml"
|
---|
58 | xpointer="xpointer(//*[@os='mb'])"/>
|
---|
59 |
|
---|
60 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
61 | href="../x86/gcc-static.xml"
|
---|
62 | xpointer="xpointer(//*[@os='ag'])"/>
|
---|
63 |
|
---|
64 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
65 | href="../x86/gcc-static.xml"
|
---|
66 | xpointer="xpointer(//*[@os='ah'])"/>
|
---|
67 |
|
---|
68 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
69 | href="../x86/gcc-static.xml"
|
---|
70 | xpointer="xpointer(//*[@os='ai'])"/>
|
---|
71 |
|
---|
72 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
73 | href="../x86/gcc-static.xml"
|
---|
74 | xpointer="xpointer(//*[@os='aj'])"/>
|
---|
75 |
|
---|
76 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
77 | href="../x86/gcc-static.xml"
|
---|
78 | xpointer="xpointer(//*[@os='ak'])"/>
|
---|
79 |
|
---|
80 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
81 | href="../../final-system/common/gcc.xml"
|
---|
82 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
83 |
|
---|
84 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
85 | href="../../final-system/common/gcc.xml"
|
---|
86 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
87 |
|
---|
88 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
89 | href="../../final-system/common/gcc.xml"
|
---|
90 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
91 |
|
---|
92 | <screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
|
---|
93 | --host=${LFS_HOST} --target=${LFS_TARGET} \
|
---|
94 | --with-local-prefix=/tools --disable-nls --disable-shared \
|
---|
95 | --disable-threads --enable-languages=c</userinput></screen>
|
---|
96 |
|
---|
97 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
98 | href="../x86/gcc-static.xml"
|
---|
99 | xpointer="xpointer(//*[@os='al'])"/>
|
---|
100 |
|
---|
101 | <para>Continue with compiling the package:</para>
|
---|
102 |
|
---|
103 | <screen><userinput>make all-gcc</userinput></screen>
|
---|
104 |
|
---|
105 | <para>Install the package:</para>
|
---|
106 |
|
---|
107 | <screen><userinput>make install-gcc</userinput></screen>
|
---|
108 |
|
---|
109 | </sect2>
|
---|
110 |
|
---|
111 | <sect2 role="content">
|
---|
112 | <title/>
|
---|
113 |
|
---|
114 | <para>Details on this package are located in <xref
|
---|
115 | linkend="contents-gcc" role="."/></para>
|
---|
116 |
|
---|
117 | </sect2>
|
---|
118 |
|
---|
119 | </sect1>
|
---|