source: cross-tools/alpha/gcc-static.xml@ a422d29

Last change on this file since a422d29 was bf8c11f, 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: 4.0 KB
RevLine 
[bf8c11f]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 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
52 href="../x86/gcc-static.xml"
53 xpointer="xpointer(//*[@os='ab'])"/>
54
55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
56 href="../x86/gcc-static.xml"
57 xpointer="xpointer(//*[@os='ac'])"/>
58
59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
60 href="../x86/gcc-static.xml"
61 xpointer="xpointer(//*[@os='ad'])"/>
62
63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
64 href="../x86/gcc-static.xml"
65 xpointer="xpointer(//*[@os='ae'])"/>
66
67 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
68 href="../x86/gcc-static.xml"
69 xpointer="xpointer(//*[@os='af'])"/>
70
71 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
72 href="../x86/gcc-static.xml"
73 xpointer="xpointer(//*[@os='ag'])"/>
74
75<screen os="ah"><userinput>echo "
76#undef STARTFILE_PREFIX_SPEC
77#define STARTFILE_PREFIX_SPEC \"/tools/lib/\"" &gt;&gt; gcc/config/alpha/linux.h</userinput></screen>
78
79 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
80 href="../x86/gcc-static.xml"
81 xpointer="xpointer(//*[@os='ai'])"/>
82
83 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
84 href="../x86/gcc-static.xml"
85 xpointer="xpointer(//*[@os='aj'])"/>
86
87 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
88 href="../x86/gcc-static.xml"
89 xpointer="xpointer(//*[@os='ak'])"/>
90
91 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
92 href="../../final-system/common/gcc.xml"
93 xpointer="xpointer(//*[@os='f'])"/>
94
95 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
96 href="../../final-system/common/gcc.xml"
97 xpointer="xpointer(//*[@os='g'])"/>
98
99 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
100 href="../../final-system/common/gcc.xml"
101 xpointer="xpointer(//*[@os='h'])"/>
102
103<screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
104 --host=${LFS_HOST} --target=${LFS_TARGET} \
105 --with-local-prefix=/tools --disable-nls --disable-shared \
106 --disable-threads --enable-languages=c</userinput></screen>
107
108 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
109 href="../x86/gcc-static.xml"
110 xpointer="xpointer(//*[@os='al'])"/>
111
112 <para>Continue with compiling the package:</para>
113
114<screen><userinput>make all-gcc</userinput></screen>
115
116 <para>Install the package:</para>
117
118<screen><userinput>make install-gcc</userinput></screen>
119
120 </sect2>
121
122 <sect2 role="content">
123 <title/>
124
125 <para>Details on this package are located in <xref
126 linkend="contents-gcc" role="."/></para>
127
128 </sect2>
129
130</sect1>
Note: See TracBrowser for help on using the repository browser.