source: BOOK/cross-tools/mips64-64/gcc-static.xml@ 65a522e

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