source: BOOK/cross-tools/alpha/gcc-static.xml@ b35707a

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since b35707a was 4883ef5, checked in by Jim Gifford <clfs@…>, 16 years ago

Added GCC Branch Update Patch

  • Property mode set to 100644
File size: 3.8 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]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
[cf66ceae]18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../final-system/common/gcc.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]21
22 <sect2 role="installation">
23 <title>Installation of Cross GCC Compiler with Static libgcc
24 and no Threads</title>
25
[4883ef5]26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
27 href="../common/gcc-static.xml"
28 xpointer="xpointer(//*[@os='p1'])"/>
29
30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
31 href="../common/gcc-static.xml"
32 xpointer="xpointer(//*[@os='p2'])"/>
33
[a9f0cdb]34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
35 href="../common/gcc-static.xml"
[3f8be484]36 xpointer="xpointer(//*[@os='aa'])"/>
37
38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[a9f0cdb]39 href="../common/gcc-static.xml"
[3f8be484]40 xpointer="xpointer(//*[@os='ab'])"/>
41
42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[a9f0cdb]43 href="../common/gcc-static.xml"
[3f8be484]44 xpointer="xpointer(//*[@os='ac'])"/>
45
46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[a9f0cdb]47 href="../common/gcc-static.xml"
[3f8be484]48 xpointer="xpointer(//*[@os='ad'])"/>
49
50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[a9f0cdb]51 href="../common/gcc-static.xml"
[3f8be484]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/alpha/linux.h</userinput></screen>
57
58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[a9f0cdb]59 href="../common/gcc-static.xml"
[3f8be484]60 xpointer="xpointer(//*[@os='ai'])"/>
61
62 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[a9f0cdb]63 href="../common/gcc-static.xml"
[3f8be484]64 xpointer="xpointer(//*[@os='aj'])"/>
65
66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
67 href="../../final-system/common/gcc.xml"
68 xpointer="xpointer(//*[@os='f'])"/>
69
70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
71 href="../../final-system/common/gcc.xml"
72 xpointer="xpointer(//*[@os='g'])"/>
73
74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
75 href="../../final-system/common/gcc.xml"
76 xpointer="xpointer(//*[@os='h'])"/>
77
[6a043e2]78<screen><userinput>AR=ar ../gcc-&gcc-version;/configure --prefix=/cross-tools \
79 --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
[3f8be484]80 --with-local-prefix=/tools --disable-nls --disable-shared \
[6a043e2]81 --without-headers --with-newlib --disable-decimal-float \
82 --disable-libgomp --disable-libmudflap --disable-libssp \
[3f8be484]83 --disable-threads --enable-languages=c</userinput></screen>
84
[d55f00bc]85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[a9f0cdb]86 href="../common/gcc-static.xml"
[d55f00bc]87 xpointer="xpointer(//*[@os='am'])"/>
[3f8be484]88
[d55f00bc]89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[a9f0cdb]90 href="../common/gcc-static.xml"
[d55f00bc]91 xpointer="xpointer(//*[@os='an'])"/>
[3f8be484]92
[d55f00bc]93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[a9f0cdb]94 href="../common/gcc-static.xml"
[d55f00bc]95 xpointer="xpointer(//*[@os='ao'])"/>
[3f8be484]96
[d55f00bc]97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[a9f0cdb]98 href="../common/gcc-static.xml"
[d55f00bc]99 xpointer="xpointer(//*[@os='ap'])"/>
100
101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[a9f0cdb]102 href="../common/gcc-static.xml"
[d55f00bc]103 xpointer="xpointer(//*[@os='aq'])"/>
[3f8be484]104
105 </sect2>
106
107 <sect2 role="content">
108 <title/>
109
110 <para>Details on this package are located in <xref
111 linkend="contents-gcc" role="."/></para>
112
113 </sect2>
114
115</sect1>
Note: See TracBrowser for help on using the repository browser.