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

Last change on this file since d65c6ef was 2659c74, checked in by Jim Gifford <clfs@…>, 19 years ago

r677@server (orig r675): manuel | 2005-11-10 03:13:57 -0800
Including patches.ent from general.ent

  • Property mode set to 100644
File size: 3.4 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 %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 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
27 href="../x86/gcc-static.xml"
28 xpointer="xpointer(//*[@os='aa'])"/>
29
30<screen os="ab"><userinput>patch -Np1 -i ../&gcc-specs_pure64-patch;</userinput></screen>
31
32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
33 href="../x86/gcc-static.xml"
34 xpointer="xpointer(//*[@os='ac'])"/>
35
36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
37 href="../x86/gcc-static.xml"
38 xpointer="xpointer(//*[@os='ad'])"/>
39
40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
41 href="../x86/gcc-static.xml"
42 xpointer="xpointer(//*[@os='ae'])"/>
43
44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
45 href="../x86/gcc-static.xml"
46 xpointer="xpointer(//*[@os='af'])"/>
47
48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
49 href="../x86/gcc-static.xml"
50 xpointer="xpointer(//*[@os='ag'])"/>
51
52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
53 href="../sparc64/gcc-static.xml"
54 xpointer="xpointer(//*[@os='ah'])"/>
55
56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
57 href="../x86/gcc-static.xml"
58 xpointer="xpointer(//*[@os='ai'])"/>
59
60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
61 href="../x86/gcc-static.xml"
62 xpointer="xpointer(//*[@os='aj'])"/>
63
64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
65 href="../x86/gcc-static.xml"
66 xpointer="xpointer(//*[@os='ak'])"/>
67
68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
69 href="../../final-system/common/gcc.xml"
70 xpointer="xpointer(//*[@os='f'])"/>
71
72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
73 href="../../final-system/common/gcc.xml"
74 xpointer="xpointer(//*[@os='g'])"/>
75
76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
77 href="../../final-system/common/gcc.xml"
78 xpointer="xpointer(//*[@os='h'])"/>
79
80<screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
81 --host=${LFS_HOST} --target=${LFS_TARGET} --disable-multilib \
82 --with-local-prefix=/tools --disable-nls --disable-shared \
83 --disable-threads --enable-languages=c</userinput></screen>
84
85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
86 href="../x86/gcc-static.xml"
87 xpointer="xpointer(//*[@os='al'])"/>
88
89 <para>Continue with compiling the package:</para>
90
91<screen><userinput>make CFLAGS_FOR_TARGET="${GCCTARGET}" all-gcc</userinput></screen>
92
93 <para>Install the package:</para>
94
95<screen><userinput>make install-gcc</userinput></screen>
96
97 </sect2>
98
99 <sect2 role="content">
100 <title/>
101
102 <para>Details on this package are located in <xref
103 linkend="contents-gcc" role="."/></para>
104
105 </sect2>
106
107</sect1>
Note: See TracBrowser for help on using the repository browser.