source: clfs-embedded/BOOK/cross-tools/x86/gcc-static.xml@ 113a63a

Last change on this file since 113a63a was c01e552, checked in by Andrew Bradford <andrew@…>, 11 years ago

Add musl patches for gcc and binutils

  • Property mode set to 100644
File size: 3.5 KB
RevLine 
[b7f5467]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
[ae51e2a]8<!-- x86 GCC-Static -->
9
[b7f5467]10<sect1 id="ch-cross-tools-gcc-static" role="wrap">
11 <?dbhtml filename="gcc-static.html"?>
12
13 <title>Cross GCC-&gcc-version; - Static</title>
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
[ae51e2a]20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
21 href="../common/gcc-static.xml"
22 xpointer="xpointer(//*[@role='package'])"/>
[b7f5467]23
24 <sect2 role="installation">
[ae51e2a]25
26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
27 href="../common/gcc-static.xml"
28 xpointer="xpointer(//*[@os='a'])"/>
[b7f5467]29
[c01e552]30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
31 href="../common/gcc-static.xml"
32 xpointer="xpointer(//*[@os='aa'])"/>
33
34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
35 href="../common/gcc-static.xml"
36 xpointer="xpointer(//*[@os='ab'])"/>
37
[8a77fbd]38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
39 href="../common/gcc-static.xml"
40 xpointer="xpointer(//*[@os='b'])"/>
41
42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
43 href="../common/gcc-static.xml"
44 xpointer="xpointer(//*[@os='ba'])"/>
45
[b7f5467]46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
47 href="../common/gcc-static.xml"
48 xpointer="xpointer(//*[@os='c'])"/>
49
50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
51 href="../common/gcc-static.xml"
52 xpointer="xpointer(//*[@os='d'])"/>
53
54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
55 href="../common/gcc-static.xml"
56 xpointer="xpointer(//*[@os='e'])"/>
57
[146587b]58<screen os="ae"><userinput>../gcc-&gcc-version;/configure \
[54fde8f]59 --prefix=${CLFS}/cross-tools \
60 --build=${CLFS_HOST} \
61 --host=${CLFS_HOST} \
62 --target=${CLFS_TARGET} \
[13d7c4f]63 --with-sysroot=${CLFS}/cross-tools/sysroot \
[54fde8f]64 --disable-nls \
65 --disable-shared \
66 --without-headers \
67 --with-newlib \
68 --disable-decimal-float \
69 --disable-libgomp \
70 --disable-libmudflap \
71 --disable-libssp \
[6368159]72 --disable-libatomic \
73 --disable-libquadmath \
[54fde8f]74 --disable-threads \
75 --enable-languages=c \
76 --disable-multilib \
77 --with-arch=${CLFS_CPU}</userinput></screen>
[b7f5467]78
[ae51e2a]79<!-- Common configure switches for all archs -->
80 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
81 href="../common/gcc-static.xml"
82 xpointer="xpointer(//*[@os='af'])"/>
[b7f5467]83
[ae51e2a]84<!-- Specific configure switches for x86 -->
85 <variablelist os="ag">
[b7f5467]86
[ae51e2a]87 <varlistentry os="ag1">
88 <term><parameter>--with-arch=${CLFS_CPU}</parameter></term>
89 <listitem>
90 <para>This option configures the cross compiler to only output
91 instructions for our previously selected CPU.</para>
92 </listitem>
93 </varlistentry>
[b7f5467]94
[ae51e2a]95 </variablelist>
[b7f5467]96
97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
98 href="../common/gcc-static.xml"
99 xpointer="xpointer(//*[@os='ah'])"/>
100
101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
102 href="../common/gcc-static.xml"
103 xpointer="xpointer(//*[@os='ai'])"/>
104
105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
106 href="../common/gcc-static.xml"
107 xpointer="xpointer(//*[@os='aj'])"/>
108
[ae51e2a]109 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
110 href="../common/gcc-static.xml"
111 xpointer="xpointer(//*[@os='ak'])"/>
[b7f5467]112
113 </sect2>
114
[ae51e2a]115 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
116 href="../common/gcc-static.xml"
117 xpointer="xpointer(//*[@role='content'])"/>
118
[b7f5467]119</sect1>
Note: See TracBrowser for help on using the repository browser.