source: clfs-embedded/BOOK/cross-tools/arm/gcc-final.xml@ 5c58544

Last change on this file since 5c58544 was c98e933, checked in by Andrew Bradford <bradfa@…>, 14 years ago

Copy libgcc_s.so.1 to $CLFS/lib

libgcc_s.so.1 is needed by at least e2fsprogs when it runs on the target,
thus it needs to be in $CLFS/lib.

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