source: BOOK/cross-tools/multilib/gcc-static.xml@ c7477f8e

sysvinit
Last change on this file since c7477f8e was b27081c4, checked in by Chris Staub <chris@…>, 9 years ago

Put one configure option per line

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