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="../common/gcc-static.xml"
|
---|
28 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
29 |
|
---|
30 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
31 | href="../x86_64-64/gcc-static.xml"
|
---|
32 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
33 |
|
---|
34 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
35 | href="../common/gcc-static.xml"
|
---|
36 | xpointer="xpointer(//*[@os='aa'])"/>
|
---|
37 |
|
---|
38 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
39 | href="../x86_64-64/gcc-static.xml"
|
---|
40 | xpointer="xpointer(//*[@os='ab'])"/>
|
---|
41 |
|
---|
42 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
43 | href="../common/gcc-static.xml"
|
---|
44 | xpointer="xpointer(//*[@os='ac'])"/>
|
---|
45 |
|
---|
46 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
47 | href="../common/gcc-static.xml"
|
---|
48 | xpointer="xpointer(//*[@os='ad'])"/>
|
---|
49 |
|
---|
50 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
51 | href="../common/gcc-static.xml"
|
---|
52 | xpointer="xpointer(//*[@os='ag'])"/>
|
---|
53 |
|
---|
54 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
55 | href="../common/gcc-static.xml"
|
---|
56 | xpointer="xpointer(//*[@os='s1'])"/>
|
---|
57 |
|
---|
58 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
59 | href="../common/gcc-static.xml"
|
---|
60 | xpointer="xpointer(//*[@os='s2'])"/>
|
---|
61 |
|
---|
62 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
63 | href="../common/gcc-static.xml"
|
---|
64 | xpointer="xpointer(//*[@os='ah'])"/>
|
---|
65 |
|
---|
66 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
67 | href="../common/gcc-static.xml"
|
---|
68 | xpointer="xpointer(//*[@os='ai'])"/>
|
---|
69 |
|
---|
70 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
71 | href="../common/gcc-static.xml"
|
---|
72 | xpointer="xpointer(//*[@os='aj'])"/>
|
---|
73 |
|
---|
74 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
75 | href="../common/gcc-static.xml"
|
---|
76 | xpointer="xpointer(//*[@os='t1'])"/>
|
---|
77 |
|
---|
78 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
79 | href="../common/gcc-static.xml"
|
---|
80 | xpointer="xpointer(//*[@os='t2'])"/>
|
---|
81 |
|
---|
82 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
83 | href="../../final-system/common/gcc.xml"
|
---|
84 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
85 |
|
---|
86 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
87 | href="../../final-system/common/gcc.xml"
|
---|
88 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
89 |
|
---|
90 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
91 | href="../../final-system/common/gcc.xml"
|
---|
92 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
93 |
|
---|
94 | <screen os="al"><userinput>AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
|
---|
95 | ../gcc-&gcc-version;/configure --prefix=/cross-tools \
|
---|
96 | --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
|
---|
97 | --disable-multilib --with-local-prefix=/tools --disable-nls \
|
---|
98 | --without-headers --with-newlib --disable-decimal-float \
|
---|
99 | --with-mpfr=/cross-tools --with-gmp=/cross-tools \
|
---|
100 | --disable-libgomp --disable-libmudflap --disable-libssp \
|
---|
101 | --disable-shared --disable-threads --enable-languages=c \
|
---|
102 | --with-abi=64</userinput></screen>
|
---|
103 |
|
---|
104 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
105 | href="../common/gcc-static.xml"
|
---|
106 | xpointer="xpointer(//*[@os='am'])"/>
|
---|
107 |
|
---|
108 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
109 | href="../common/gcc-static.xml"
|
---|
110 | xpointer="xpointer(//*[@os='an'])"/>
|
---|
111 |
|
---|
112 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
113 | href="../common/gcc-static.xml"
|
---|
114 | xpointer="xpointer(//*[@os='ao'])"/>
|
---|
115 |
|
---|
116 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
117 | href="../common/gcc-static.xml"
|
---|
118 | xpointer="xpointer(//*[@os='ap'])"/>
|
---|
119 |
|
---|
120 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
121 | href="../common/gcc-static.xml"
|
---|
122 | xpointer="xpointer(//*[@os='aq'])"/>
|
---|
123 |
|
---|
124 | </sect2>
|
---|
125 |
|
---|
126 | <sect2 role="content">
|
---|
127 | <title/>
|
---|
128 |
|
---|
129 | <para>Details on this package are located in <xref
|
---|
130 | linkend="contents-gcc" role="."/></para>
|
---|
131 |
|
---|
132 | </sect2>
|
---|
133 |
|
---|
134 | </sect1>
|
---|