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

Last change on this file since c72b980 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: 2.9 KB
RevLine 
[9f0beb0]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
[bd0ad10]8<!-- x86 GCC-Final -->
9
[9f0beb0]10<sect1 id="ch-cross-tools-gcc-final" role="wrap">
11  <?dbhtml filename="gcc-final.html"?>
12
[8f65e24]13  <title>GCC-&gcc-version; - Final</title>
[9f0beb0]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"
[bd0ad10]21  href="../common/gcc-final.xml"
[9f0beb0]22  xpointer="xpointer(//*[@role='package'])"/>
23
24  <sect2 role="installation">
25    <title>Installation of GCC Cross Compiler</title>
26
[c01e552]27    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[2b9574b]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
[9f0beb0]35    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[bd0ad10]36    href="../common/gcc-final.xml"
[9f0beb0]37    xpointer="xpointer(//*[@os='c'])"/>
38
39    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[bd0ad10]40    href="../common/gcc-final.xml"
[9f0beb0]41    xpointer="xpointer(//*[@os='d'])"/>
42
43    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[bd0ad10]44    href="../common/gcc-final.xml"
[9f0beb0]45    xpointer="xpointer(//*[@os='e'])"/>
46
[d38764e]47    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
48    href="../common/gcc-final.xml"
49    xpointer="xpointer(//*[@os='f'])"/>
50
[146587b]51<screen os="ae"><userinput>../gcc-&gcc-version;/configure \
[54fde8f]52  --prefix=${CLFS}/cross-tools \
53  --build=${CLFS_HOST} \
54  --target=${CLFS_TARGET} \
55  --host=${CLFS_HOST} \
[94e2400]56  --with-sysroot=${CLFS}/cross-tools/${CLFS_TARGET} \
[54fde8f]57  --disable-nls \
58  --enable-languages=c \
59  --enable-c99 \
60  --enable-long-long \
[2bb7576]61  --disable-libmudflap \
[2b9574b]62  --disable-multilib \
[5f18bea]63  --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \
64  --with-mpfr-lib=$(pwd)/mpfr/src/.libs \
[a20c17d]65  --with-arch=${CLFS_CPU}</userinput></screen>
[9f0beb0]66
[2a10689]67    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
68    href="../common/gcc-final.xml"
69    xpointer="xpointer(//*[@os='af'])"/>
[9f0beb0]70
71    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[bd0ad10]72    href="../common/gcc-final.xml"
73    xpointer="xpointer(//*[@os='ah'])"/>
[9f0beb0]74
75    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[bd0ad10]76    href="../common/gcc-final.xml"
[9f0beb0]77    xpointer="xpointer(//*[@os='ai'])"/>
78
[bd0ad10]79    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
80    href="../common/gcc-final.xml"
81    xpointer="xpointer(//*[@os='aj'])"/>
[9f0beb0]82
[bd0ad10]83    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
84    href="../common/gcc-final.xml"
85    xpointer="xpointer(//*[@os='ak'])"/>
[9f0beb0]86
87  </sect2>
88
[bd0ad10]89    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
90    href="../common/gcc-final.xml"
91    xpointer="xpointer(//*[@role='content'])"/>
92
[9f0beb0]93</sect1>
Note: See TracBrowser for help on using the repository browser.