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

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 6aad380 was 6aad380, checked in by Jim Gifford <clfs@…>, 18 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.6 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    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
31    href="../x86/gcc-static.xml"
32    xpointer="xpointer(//*[@os='ab'])"/>
33
34    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
35    href="../x86/gcc-static.xml"
36    xpointer="xpointer(//*[@os='ac'])"/>
37
38    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
39    href="../x86/gcc-static.xml"
40    xpointer="xpointer(//*[@os='ad'])"/>
41
42    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
43    href="../x86/gcc-static.xml"
44    xpointer="xpointer(//*[@os='ae'])"/>
45
46    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
47    href="../x86/gcc-static.xml"
48    xpointer="xpointer(//*[@os='af'])"/>
49
50    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
51    href="../x86/gcc-static.xml"
52    xpointer="xpointer(//*[@os='ag'])"/>
53
54<screen os="ah"><userinput>echo "
55#undef STARTFILE_PREFIX_SPEC
56#define STARTFILE_PREFIX_SPEC \"/tools/lib/\"" &gt;&gt; gcc/config/sparc/linux.h
57echo "
58#undef STARTFILE_PREFIX_SPEC
59#define STARTFILE_PREFIX_SPEC \"/tools/lib/\"" &gt;&gt; gcc/config/sparc/linux64.h</userinput></screen>
60
61    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
62    href="../x86/gcc-static.xml"
63    xpointer="xpointer(//*[@os='ai'])"/>
64
65    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66    href="../x86/gcc-static.xml"
67    xpointer="xpointer(//*[@os='aj'])"/>
68
69    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
70    href="../x86/gcc-static.xml"
71    xpointer="xpointer(//*[@os='ak'])"/>
72
73    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74    href="../../final-system/common/gcc.xml"
75    xpointer="xpointer(//*[@os='f'])"/>
76
77    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
78    href="../../final-system/common/gcc.xml"
79    xpointer="xpointer(//*[@os='g'])"/>
80
81    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
82    href="../../final-system/common/gcc.xml"
83    xpointer="xpointer(//*[@os='h'])"/>
84
85<screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
86    --host=${LFS_HOST} --target=${LFS_TARGET} \
87    --with-local-prefix=/tools --disable-nls --disable-shared \
88    --disable-threads --enable-languages=c</userinput></screen>
89
90    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
91    href="../x86/gcc-static.xml"
92    xpointer="xpointer(//*[@os='al'])"/>
93
94    <para>Continue with compiling the package:</para>
95
96<screen><userinput>make CFLAGS_FOR_TARGET="${GCCTARGET}" all-gcc</userinput></screen>
97
98    <para>Install the package:</para>
99
100<screen><userinput>make install-gcc</userinput></screen>
101
102  </sect2>
103
104  <sect2 role="content">
105    <title/>
106
107    <para>Details on this package are located in <xref
108    linkend="contents-gcc" role="."/></para>
109
110  </sect2>
111
112</sect1>
Note: See TracBrowser for help on using the repository browser.