source: clfs-embedded/BOOK/cross-tools/x86/gcc-final.xml@ 466a568

Last change on this file since 466a568 was 94e2400, checked in by Andrew Bradford <andrew@…>, 11 years ago

Use ${CLFS}/cross-tools/${CLFS_TARGET} as sysroot dir

BUG: This uses ${CLFS_TARGET} before it is exported within materials
chapter for creating the sysroot directory!

  • Property mode set to 100644
File size: 3.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<!-- x86 GCC-Final -->
9
10<sect1 id="ch-cross-tools-gcc-final" role="wrap">
11 <?dbhtml filename="gcc-final.html"?>
12
13 <title>GCC-&gcc-version; - Cross Compiler Final</title>
14
15 <indexterm zone="ch-cross-tools-gcc-final">
16 <primary sortas="a-GCC">GCC</primary>
17 <secondary>cross tools, final</secondary>
18 </indexterm>
19
20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
21 href="../common/gcc-final.xml"
22 xpointer="xpointer(//*[@role='package'])"/>
23
24 <sect2 role="installation">
25 <title>Installation of GCC Cross Compiler</title>
26
27 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
28 href="../common/gcc-static.xml"
29 xpointer="xpointer(//*[@os='aa'])"/>
30
31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
32 href="../common/gcc-static.xml"
33 xpointer="xpointer(//*[@os='ab'])"/>
34
35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
36 href="../common/gcc-final.xml"
37 xpointer="xpointer(//*[@os='b'])"/>
38
39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
40 href="../common/gcc-final.xml"
41 xpointer="xpointer(//*[@os='ba'])"/>
42
43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
44 href="../common/gcc-final.xml"
45 xpointer="xpointer(//*[@os='c'])"/>
46
47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
48 href="../common/gcc-final.xml"
49 xpointer="xpointer(//*[@os='d'])"/>
50
51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
52 href="../common/gcc-final.xml"
53 xpointer="xpointer(//*[@os='e'])"/>
54
55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
56 href="../common/gcc-final.xml"
57 xpointer="xpointer(//*[@os='f'])"/>
58
59<screen os="ae"><userinput>../gcc-&gcc-version;/configure \
60 --prefix=${CLFS}/cross-tools \
61 --build=${CLFS_HOST} \
62 --target=${CLFS_TARGET} \
63 --host=${CLFS_HOST} \
64 --with-sysroot=${CLFS}/cross-tools/${CLFS_TARGET} \
65 --disable-nls \
66 --enable-languages=c \
67 --enable-c99 \
68 --enable-long-long \
69 --disable-libmudflap \
70 --disable-multilib \
71 --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \
72 --with-mpfr-lib=$(pwd)/mpfr/src/.libs \
73 --with-arch=${CLFS_CPU}</userinput></screen>
74
75 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
76 href="../common/gcc-final.xml"
77 xpointer="xpointer(//*[@os='af'])"/>
78
79 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
80 href="../common/gcc-final.xml"
81 xpointer="xpointer(//*[@os='ah'])"/>
82
83 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
84 href="../common/gcc-final.xml"
85 xpointer="xpointer(//*[@os='ai'])"/>
86
87 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
88 href="../common/gcc-final.xml"
89 xpointer="xpointer(//*[@os='aj'])"/>
90
91 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
92 href="../common/gcc-final.xml"
93 xpointer="xpointer(//*[@os='ak'])"/>
94
95 </sect2>
96
97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
98 href="../common/gcc-final.xml"
99 xpointer="xpointer(//*[@role='content'])"/>
100
101</sect1>
Note: See TracBrowser for help on using the repository browser.