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

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

r656@server (orig r654): manuel | 2005-11-08 12:18:58 -0800
Preparations to remove SBUs and DUs. Chapter cross-tools.

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