source: BOOK/cross-tools/x86_64-64/gcc-static.xml@ de1878b7

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since de1878b7 was 3f8be484, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • Property mode set to 100644
File size: 3.9 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6 %general-entities;
7 %patches-entities;
8]>
9
10<sect1 id="ch-cross-tools-gcc-static" role="wrap">
11 <?dbhtml filename="gcc-static.html"?>
12
13 <title>Cross GCC-&gcc-version; - Static</title>
14
15 <indexterm zone="ch-cross-tools-gcc-static">
16 <primary sortas="a-GCC">GCC</primary>
17 <secondary>cross tools, static</secondary>
18 </indexterm>
19
20 <sect2 role="package">
21 <title/>
22
23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
24 href="../../final-system/common/gcc.xml"
25 xpointer="xpointer(//*[@role='package']/para[1])"/>
26
27 <segmentedlist>
28 <segtitle>&buildtime;</segtitle>
29 <segtitle>&diskspace;</segtitle>
30
31 <seglistitem>
32 <seg>Not checked yet</seg>
33 <seg>Not checked yet</seg>
34 </seglistitem>
35 </segmentedlist>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../../final-system/common/gcc.xml"
39 xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of Cross GCC Compiler with Static libgcc
45 and no Threads</title>
46
47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
48 href="../x86/gcc-static.xml"
49 xpointer="xpointer(//*[@os='aa'])"/>
50
51<screen os="ab"><userinput>patch -Np1 -i ../&gcc-specs_pure64-patch;</userinput></screen>
52
53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
54 href="../x86/gcc-static.xml"
55 xpointer="xpointer(//*[@os='ac'])"/>
56
57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
58 href="../x86/gcc-static.xml"
59 xpointer="xpointer(//*[@os='ad'])"/>
60
61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
62 href="../x86/gcc-static.xml"
63 xpointer="xpointer(//*[@os='ae'])"/>
64
65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66 href="../x86/gcc-static.xml"
67 xpointer="xpointer(//*[@os='af'])"/>
68
69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
70 href="../x86/gcc-static.xml"
71 xpointer="xpointer(//*[@os='ag'])"/>
72
73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74 href="../x86/gcc-static.xml"
75 xpointer="xpointer(//*[@os='ah'])"/>
76
77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
78 href="../x86/gcc-static.xml"
79 xpointer="xpointer(//*[@os='ai'])"/>
80
81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
82 href="../x86/gcc-static.xml"
83 xpointer="xpointer(//*[@os='aj'])"/>
84
85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
86 href="../x86/gcc-static.xml"
87 xpointer="xpointer(//*[@os='ak'])"/>
88
89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
90 href="../../final-system/common/gcc.xml"
91 xpointer="xpointer(//*[@os='f'])"/>
92
93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
94 href="../../final-system/common/gcc.xml"
95 xpointer="xpointer(//*[@os='g'])"/>
96
97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
98 href="../../final-system/common/gcc.xml"
99 xpointer="xpointer(//*[@os='h'])"/>
100
101<screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
102 --host=${LFS_HOST} --target=${LFS_TARGET} --disable-multilib \
103 --with-local-prefix=/tools --disable-nls --disable-shared \
104 --disable-threads --enable-languages=c</userinput></screen>
105
106 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
107 href="../x86/gcc-static.xml"
108 xpointer="xpointer(//*[@os='al'])"/>
109
110 <para>Continue with compiling the package:</para>
111
112<screen><userinput>make all-gcc</userinput></screen>
113
114 <para>Install the package:</para>
115
116<screen><userinput>make install-gcc</userinput></screen>
117
118 </sect2>
119
120 <sect2 role="content">
121 <title/>
122
123 <para>Details on this package are located in <xref
124 linkend="contents-gcc" role="."/></para>
125
126 </sect2>
127
128</sect1>
Note: See TracBrowser for help on using the repository browser.