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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 3faa5de was 5ec7db05, checked in by Jim Gifford <clfs@…>, 16 years ago

Updated to GCC 4.3.3

  • Property mode set to 100644
File size: 4.1 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/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<!--
27 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
28 href="../common/gcc-static.xml"
29 xpointer="xpointer(//*[@os='p1'])"/>
30
31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
32 href="../common/gcc-static.xml"
33 xpointer="xpointer(//*[@os='p2'])"/>
34-->
35
36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
37 href="../common/gcc-static.xml"
38 xpointer="xpointer(//*[@os='aa'])"/>
39
40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
41 href="../common/gcc-static.xml"
42 xpointer="xpointer(//*[@os='ab'])"/>
43
44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
45 href="../common/gcc-static.xml"
46 xpointer="xpointer(//*[@os='ac'])"/>
47
48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
49 href="../common/gcc-static.xml"
50 xpointer="xpointer(//*[@os='ad'])"/>
51
52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
53 href="../common/gcc-static.xml"
54 xpointer="xpointer(//*[@os='ag'])"/>
55
56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
57 href="../common/gcc-static.xml"
58 xpointer="xpointer(//*[@os='ah'])"/>
59
60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
61 href="../common/gcc-static.xml"
62 xpointer="xpointer(//*[@os='ai'])"/>
63
64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
65 href="../common/gcc-static.xml"
66 xpointer="xpointer(//*[@os='aj'])"/>
67
68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
69 href="../common/gcc-static.xml"
70 xpointer="xpointer(//*[@os='t1'])"/>
71
72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
73 href="../common/gcc-static.xml"
74 xpointer="xpointer(//*[@os='t2'])"/>
75
76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
77 href="../../final-system/common/gcc.xml"
78 xpointer="xpointer(//*[@os='f'])"/>
79
80 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
81 href="../../final-system/common/gcc.xml"
82 xpointer="xpointer(//*[@os='g'])"/>
83
84 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
85 href="../../final-system/common/gcc.xml"
86 xpointer="xpointer(//*[@os='h'])"/>
87
88<screen os="al"><userinput>AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
89 ../gcc-&gcc-version;/configure --prefix=/cross-tools \
90 --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
91 --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \
92 --disable-shared --with-mpfr=/cross-tools --with-gmp=/cross-tools \
93 --without-headers --with-newlib --disable-decimal-float \
94 --disable-libgomp --disable-libmudflap --disable-libssp \
95 --disable-threads --enable-languages=c</userinput></screen>
96
97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
98 href="../common/gcc-static.xml"
99 xpointer="xpointer(//*[@os='am'])"/>
100
101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
102 href="../common/gcc-static.xml"
103 xpointer="xpointer(//*[@os='an'])"/>
104
105<screen os="s1"><userinput>make</userinput></screen>
106
107 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
108 href="../common/gcc-static.xml"
109 xpointer="xpointer(//*[@os='ap'])"/>
110
111 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
112 href="../common/gcc-static.xml"
113 xpointer="xpointer(//*[@os='aq'])"/>
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>
Note: See TracBrowser for help on using the repository browser.