source: cross-tools/sparc64/gcc-static.xml@ be205bc2

Last change on this file since be205bc2 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.1 KB
Line 
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/sparc/linux.h
78echo "
79#undef STARTFILE_PREFIX_SPEC
80#define STARTFILE_PREFIX_SPEC \"/tools/lib/\"" &gt;&gt; gcc/config/sparc/linux64.h</userinput></screen>
81
82 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
83 href="../x86/gcc-static.xml"
84 xpointer="xpointer(//*[@os='ai'])"/>
85
86 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
87 href="../x86/gcc-static.xml"
88 xpointer="xpointer(//*[@os='aj'])"/>
89
90 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
91 href="../x86/gcc-static.xml"
92 xpointer="xpointer(//*[@os='ak'])"/>
93
94 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
95 href="../../final-system/common/gcc.xml"
96 xpointer="xpointer(//*[@os='f'])"/>
97
98 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
99 href="../../final-system/common/gcc.xml"
100 xpointer="xpointer(//*[@os='g'])"/>
101
102 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
103 href="../../final-system/common/gcc.xml"
104 xpointer="xpointer(//*[@os='h'])"/>
105
106<screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
107 --host=${LFS_HOST} --target=${LFS_TARGET} \
108 --with-local-prefix=/tools --disable-nls --disable-shared \
109 --disable-threads --enable-languages=c</userinput></screen>
110
111 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
112 href="../x86/gcc-static.xml"
113 xpointer="xpointer(//*[@os='al'])"/>
114
115 <para>Continue with compiling the package:</para>
116
117<screen><userinput>make CFLAGS_FOR_TARGET="${GCCTARGET}" all-gcc</userinput></screen>
118
119 <para>Install the package:</para>
120
121<screen><userinput>make install-gcc</userinput></screen>
122
123 </sect2>
124
125 <sect2 role="content">
126 <title/>
127
128 <para>Details on this package are located in <xref
129 linkend="contents-gcc" role="."/></para>
130
131 </sect2>
132
133</sect1>
Note: See TracBrowser for help on using the repository browser.