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

sysvinit
Last change on this file since ca39770 was 763a8c8, checked in by William Harrington <kb0iic@…>, 8 years ago

Remove --with-system-zlib configure option from cross-tools gcc static/final as most hosts won't have zlib.h around. No reason to add zlib as a dep to host sys req.

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