source: clfs-embedded/BOOK/cross-tools/arm/gcc-static.xml@ 31fac76

Last change on this file since 31fac76 was c72b980, checked in by Andrew Bradford <andrew@…>, 8 years ago

Update gcc to version 6.2

This removes the need to patch gcc due to musl as gcc6 supports musl by
simply calling out a musl-based triplet for the target.

  • Property mode set to 100644
File size: 3.9 KB
RevLine 
[ae51e2a]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-Static -->
9
10<sect1 id="ch-cross-tools-gcc-static" role="wrap">
11 <?dbhtml filename="gcc-static.html"?>
12
[8f65e24]13 <title>GCC-&gcc-version; - Static</title>
[ae51e2a]14
15 <indexterm zone="ch-cross-tools-gcc-static">
16 <primary sortas="a-GCC">GCC</primary>
17 <secondary>cross tools, static</secondary>
18 </indexterm>
19
20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
21 href="../common/gcc-static.xml"
22 xpointer="xpointer(//*[@role='package'])"/>
23
24 <sect2 role="installation">
25
26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
27 href="../common/gcc-static.xml"
28 xpointer="xpointer(//*[@os='a'])"/>
29
[c01e552]30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[8a77fbd]31 href="../common/gcc-static.xml"
32 xpointer="xpointer(//*[@os='b'])"/>
33
34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
35 href="../common/gcc-static.xml"
36 xpointer="xpointer(//*[@os='ba'])"/>
37
[ae51e2a]38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
39 href="../common/gcc-static.xml"
40 xpointer="xpointer(//*[@os='c'])"/>
41
42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
43 href="../common/gcc-static.xml"
44 xpointer="xpointer(//*[@os='d'])"/>
45
46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
47 href="../common/gcc-static.xml"
48 xpointer="xpointer(//*[@os='e'])"/>
49
[146587b]50<screen os="ae"><userinput>../gcc-&gcc-version;/configure \
[54fde8f]51 --prefix=${CLFS}/cross-tools \
52 --build=${CLFS_HOST} \
53 --host=${CLFS_HOST} \
54 --target=${CLFS_TARGET} \
[94e2400]55 --with-sysroot=${CLFS}/cross-tools/${CLFS_TARGET} \
[54fde8f]56 --disable-nls \
57 --disable-shared \
58 --without-headers \
59 --with-newlib \
60 --disable-decimal-float \
61 --disable-libgomp \
62 --disable-libmudflap \
63 --disable-libssp \
[6368159]64 --disable-libatomic \
65 --disable-libquadmath \
[54fde8f]66 --disable-threads \
67 --enable-languages=c \
68 --disable-multilib \
[5f18bea]69 --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \
70 --with-mpfr-lib=$(pwd)/mpfr/src/.libs \
[54fde8f]71 --with-arch=${CLFS_ARM_ARCH} \
72 --with-float=${CLFS_FLOAT} \
[18d1bcd]73 --with-fpu=${CLFS_FPU}</userinput></screen>
[ae51e2a]74
75<!-- Common configure switches for all archs -->
76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
77 href="../common/gcc-static.xml"
78 xpointer="xpointer(//*[@os='af'])"/>
79
80<!-- Specific configure switches for ARM -->
81 <variablelist os="ag">
82
[18d1bcd]83 <varlistentry os="ag2">
84 <term><parameter>--with-arch=${CLFS_ARM_ARCH}</parameter></term>
85 <listitem>
86 <para>This option sets the ARM architecture selected earlier.</para>
87 </listitem>
88 </varlistentry>
89 <varlistentry os="ag4">
90 <term><parameter>--with-float=${CLFS_FLOAT}</parameter></term>
91 <listitem>
92 <para>This option sets the floating point mode selected earlier.</para>
93 </listitem>
94 </varlistentry>
95 <varlistentry os="ag5">
96 <term><parameter>--with-fpu=${CLFS_FPU}</parameter></term>
97 <listitem>
98 <para>This option sets the hardware floating point type selected
99 earlier. If soft floating point was selected, this value is ignored.</para>
100 </listitem>
101 </varlistentry>
[ae51e2a]102
103 </variablelist>
104
105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
106 href="../common/gcc-static.xml"
107 xpointer="xpointer(//*[@os='ah'])"/>
108
109 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
110 href="../common/gcc-static.xml"
111 xpointer="xpointer(//*[@os='ai'])"/>
112
113 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
114 href="../common/gcc-static.xml"
115 xpointer="xpointer(//*[@os='aj'])"/>
116
117 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
118 href="../common/gcc-static.xml"
119 xpointer="xpointer(//*[@os='ak'])"/>
120
121 </sect2>
122
123 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
124 href="../common/gcc-static.xml"
125 xpointer="xpointer(//*[@role='content'])"/>
126
127</sect1>
Note: See TracBrowser for help on using the repository browser.