source: clfs-embedded/BOOK/cross-tools/mips/gcc-final.xml@ b057d7e2

Last change on this file since b057d7e2 was 146587b, checked in by Andrew Bradford <andrew@…>, 11 years ago

gcc: Remove AR=ar and LDFLAGS from gcc builds

They aren't needed with gmp, mpfr, and mpc in tree and there are no host
libs built for embedded.

  • Property mode set to 100644
File size: 3.1 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<!-- MIPS 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-final.xml"
29 xpointer="xpointer(//*[@os='b'])"/>
30
31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
32 href="../common/gcc-final.xml"
33 xpointer="xpointer(//*[@os='ba'])"/>
34
35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
36 href="../common/gcc-final.xml"
37 xpointer="xpointer(//*[@os='c'])"/>
38
39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
40 href="../common/gcc-final.xml"
41 xpointer="xpointer(//*[@os='d'])"/>
42
43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
44 href="../common/gcc-final.xml"
45 xpointer="xpointer(//*[@os='e'])"/>
46
47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
48 href="../common/gcc-final.xml"
49 xpointer="xpointer(//*[@os='f'])"/>
50
51<screen os="ae"><userinput>../gcc-&gcc-version;/configure \
52 --prefix=${CLFS}/cross-tools \
53 --build=${CLFS_HOST} \
54 --target=${CLFS_TARGET} \
55 --host=${CLFS_HOST} \
56 --with-sysroot=${CLFS} \
57 --disable-nls \
58 --enable-shared \
59 --enable-languages=c \
60 --enable-c99 \
61 --enable-long-long \
62 --disable-multilib \
63 --with-abi=${CLFS_ABI} \
64 --with-arch=mips${CLFS_MIPS_LEVEL} \
65 --with-float=${CLFS_FLOAT} \
66 --with-endian=${CLFS_ENDIAN}</userinput></screen>
67
68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
69 href="../common/gcc-final.xml"
70 xpointer="xpointer(//*[@os='af'])"/>
71
72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
73 href="../common/gcc-final.xml"
74 xpointer="xpointer(//*[@os='ah'])"/>
75
76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
77 href="../common/gcc-final.xml"
78 xpointer="xpointer(//*[@os='ai'])"/>
79
80 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
81 href="../common/gcc-final.xml"
82 xpointer="xpointer(//*[@os='aj'])"/>
83
84 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
85 href="../common/gcc-final.xml"
86 xpointer="xpointer(//*[@os='ak'])"/>
87
88 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
89 href="../common/gcc-final.xml"
90 xpointer="xpointer(//*[@os='al'])"/>
91
92 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
93 href="../common/gcc-final.xml"
94 xpointer="xpointer(//*[@os='am'])"/>
95
96 </sect2>
97
98 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
99 href="../common/gcc-final.xml"
100 xpointer="xpointer(//*[@role='content'])"/>
101
102</sect1>
Note: See TracBrowser for help on using the repository browser.