source: cross-tools/mips64-64/gcc-static.xml@ 98b2c00

Last change on this file since 98b2c00 was 48f8316, 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.9 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<screen os="ab"><userinput>patch -Np1 -i ../&gcc-specs_pure64-patch;</userinput></screen>
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="../../final-system/mips/gcc.xml"
52 xpointer="xpointer(//*[@os='ma'])"/>
53
54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
55 href="../../final-system/mips/gcc.xml"
56 xpointer="xpointer(//*[@os='mb'])"/>
57
58 <para os="al">This will allow us to build a 64 bit ABI compiler instead of the default
59 n32:</para>
60
61<screen os="am"><userinput>patch -Np1 -i ../&gcc-mips_pure64-patch;</userinput></screen>
62
63 <para os="ag">Now we will need to setup our StartFile Spec to the correct library
64 location:</para>
65
66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
67 href="../x86/gcc-static.xml"
68 xpointer="xpointer(//*[@os='ah'])"/>
69
70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
71 href="../x86/gcc-static.xml"
72 xpointer="xpointer(//*[@os='ai'])"/>
73
74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
75 href="../x86/gcc-static.xml"
76 xpointer="xpointer(//*[@os='aj'])"/>
77
78 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
79 href="../x86/gcc-static.xml"
80 xpointer="xpointer(//*[@os='ak'])"/>
81
82 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
83 href="../../final-system/common/gcc.xml"
84 xpointer="xpointer(//*[@os='f'])"/>
85
86 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
87 href="../../final-system/common/gcc.xml"
88 xpointer="xpointer(//*[@os='g'])"/>
89
90 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
91 href="../../final-system/common/gcc.xml"
92 xpointer="xpointer(//*[@os='h'])"/>
93
94<screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
95 --host=${LFS_HOST} --target=${LFS_TARGET} --disable-mutlilib \
96 --with-local-prefix=/tools --disable-nls --disable-shared \
97 --disable-threads --enable-languages=c --with-abi=64</userinput></screen>
98
99 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
100 href="../x86/gcc-static.xml"
101 xpointer="xpointer(//*[@os='al'])"/>
102
103 <para>Continue with compiling the package:</para>
104
105<screen><userinput>make all-gcc</userinput></screen>
106
107 <para>Install the package:</para>
108
109<screen><userinput>make install-gcc</userinput></screen>
110
111 </sect2>
112
113 <sect2 role="content">
114 <title/>
115
116 <para>Details on this package are located in <xref
117 linkend="contents-gcc" role="."/></para>
118
119 </sect2>
120
121</sect1>
Note: See TracBrowser for help on using the repository browser.