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