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

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

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • Property mode set to 100644
File size: 4.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 <!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 <sect2 role="package">
21 <title/>
22
23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
24 href="../../final-system/common/gcc.xml"
25 xpointer="xpointer(//*[@role='package']/para[1])"/>
26
27 <segmentedlist>
28 <segtitle>&buildtime;</segtitle>
29 <segtitle>&diskspace;</segtitle>
30
31 <seglistitem>
32 <seg>Not checked yet</seg>
33 <seg>Not checked yet</seg>
34 </seglistitem>
35 </segmentedlist>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../../final-system/common/gcc.xml"
39 xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of Cross GCC Compiler with Static libgcc
45 and no Threads</title>
46
47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
48 href="../x86/gcc-static.xml"
49 xpointer="xpointer(//*[@os='aa'])"/>
50
51<screen os="ab"><userinput>patch -Np1 -i ../&gcc-specs_pure64-patch;</userinput></screen>
52
53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
54 href="../x86/gcc-static.xml"
55 xpointer="xpointer(//*[@os='ac'])"/>
56
57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
58 href="../x86/gcc-static.xml"
59 xpointer="xpointer(//*[@os='ad'])"/>
60
61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
62 href="../x86/gcc-static.xml"
63 xpointer="xpointer(//*[@os='ae'])"/>
64
65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66 href="../x86/gcc-static.xml"
67 xpointer="xpointer(//*[@os='af'])"/>
68
69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
70 href="../../final-system/mips/gcc.xml"
71 xpointer="xpointer(//*[@os='ma'])"/>
72
73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74 href="../../final-system/mips/gcc.xml"
75 xpointer="xpointer(//*[@os='mb'])"/>
76
77 <para os="al">This will allow us to build a 64 bit ABI compiler instead of the default
78 n32:</para>
79
80<screen os="am"><userinput>patch -Np1 -i ../&gcc-mips_pure64-patch;</userinput></screen>
81
82 <para os="ag">Now we will need to setup our StartFile Spec to the correct library
83 location:</para>
84
85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
86 href="../x86/gcc-static.xml"
87 xpointer="xpointer(//*[@os='ah'])"/>
88
89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
90 href="../x86/gcc-static.xml"
91 xpointer="xpointer(//*[@os='ai'])"/>
92
93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
94 href="../x86/gcc-static.xml"
95 xpointer="xpointer(//*[@os='aj'])"/>
96
97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
98 href="../x86/gcc-static.xml"
99 xpointer="xpointer(//*[@os='ak'])"/>
100
101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
102 href="../../final-system/common/gcc.xml"
103 xpointer="xpointer(//*[@os='f'])"/>
104
105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
106 href="../../final-system/common/gcc.xml"
107 xpointer="xpointer(//*[@os='g'])"/>
108
109 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
110 href="../../final-system/common/gcc.xml"
111 xpointer="xpointer(//*[@os='h'])"/>
112
113<screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
114 --host=${LFS_HOST} --target=${LFS_TARGET} --disable-mutlilib \
115 --with-local-prefix=/tools --disable-nls --disable-shared \
116 --disable-threads --enable-languages=c --with-abi=64</userinput></screen>
117
118 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
119 href="../x86/gcc-static.xml"
120 xpointer="xpointer(//*[@os='al'])"/>
121
122 <para>Continue with compiling the package:</para>
123
124<screen><userinput>make all-gcc</userinput></screen>
125
126 <para>Install the package:</para>
127
128<screen><userinput>make install-gcc</userinput></screen>
129
130 </sect2>
131
132 <sect2 role="content">
133 <title/>
134
135 <para>Details on this package are located in <xref
136 linkend="contents-gcc" role="."/></para>
137
138 </sect2>
139
140</sect1>
Note: See TracBrowser for help on using the repository browser.