source: BOOK/cross-tools/sparc64/gcc-final.xml@ 39f4cdd

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 39f4cdd 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.8 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-final" role="wrap">
11 <?dbhtml filename="gcc-final.html"?>
12
13 <title>GCC-&gcc-version; - Cross Compiler Final</title>
14
15 <indexterm zone="ch-cross-tools-gcc-final">
16 <primary sortas="a-GCC">GCC</primary>
17 <secondary>cross tools, final</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 GCC Cross Compiler</title>
26
27 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
28 href="gcc-static.xml"
29 xpointer="xpointer(//*[@os='aa'])"/>
30
31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
32 href="gcc-static.xml"
33 xpointer="xpointer(//*[@os='ab'])"/>
34
35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
36 href="gcc-static.xml"
37 xpointer="xpointer(//*[@os='ac'])"/>
38
39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
40 href="gcc-static.xml"
41 xpointer="xpointer(//*[@os='ad'])"/>
42
43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
44 href="gcc-static.xml"
45 xpointer="xpointer(//*[@os='ae'])"/>
46
47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
48 href="gcc-static.xml"
49 xpointer="xpointer(//*[@os='af'])"/>
50
51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
52 href="gcc-static.xml"
53 xpointer="xpointer(//*[@os='ag'])"/>
54
55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
56 href="gcc-static.xml"
57 xpointer="xpointer(//*[@os='ah'])"/>
58
59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
60 href="gcc-static.xml"
61 xpointer="xpointer(//*[@os='ai'])"/>
62
63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
64 href="gcc-static.xml"
65 xpointer="xpointer(//*[@os='aj'])"/>
66
67 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
68 href="../x86/gcc-final.xml"
69 xpointer="xpointer(//*[@os='bd'])"/>
70
71 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
72 href="../x86/gcc-final.xml"
73 xpointer="xpointer(//*[@os='be'])"/>
74
75 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
76 href="gcc-static.xml"
77 xpointer="xpointer(//*[@os='ak'])"/>
78
79 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
80 href="gcc-static.xml"
81 xpointer="xpointer(//*[@os='f'])"/>
82
83 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
84 href="gcc-static.xml"
85 xpointer="xpointer(//*[@os='g'])"/>
86
87 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
88 href="gcc-static.xml"
89 xpointer="xpointer(//*[@os='h'])"/>
90
91<screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
92 --target=${LFS_TARGET} --host=${LFS_HOST} \
93 --with-local-prefix=/tools --disable-nls --enable-shared \
94 --enable-languages=c,c++ --enable-__cxa_atexit \
95 --enable-c99 --enable-long-long --enable-threads=posix</userinput></screen>
96
97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
98 href="../x86/gcc-final.xml"
99 xpointer="xpointer(//*[@os='bf'])"/>
100
101 <para>Continue with compiling the package:</para>
102
103<screen><userinput>make CFLAGS_FOR_TARGET="${GCCTARGET}" CXXFLAGS_FOR_TARGET="${GCCTARGET}" \
104AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</userinput></screen>
105
106 <para>Install the package:</para>
107
108<screen><userinput>make install</userinput></screen>
109
110 </sect2>
111
112 <sect2 role="content">
113 <title/>
114
115 <para>Details on this package are located in <xref
116 linkend="contents-gcc" role="."/></para>
117
118 </sect2>
119
120</sect1>
Note: See TracBrowser for help on using the repository browser.