Changeset 673b0d8 for chapter05/gcc-pass1.xml
- Timestamp:
- 05/03/2004 10:59:46 AM (20 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 0c43171, 2ec64b3, a4a675f
- Parents:
- 287ea55
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/gcc-pass1.xml
r287ea55 r673b0d8 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ 3 <!ENTITY % general-entities SYSTEM "../general.ent"> 4 %general-entities; 5 ]> 1 6 <sect1 id="ch-tools-gcc-pass1"> 2 <title> InstallingGCC-&gcc-version; - Pass 1</title>3 <?dbhtml filename="gcc-pass1.html" dir="chapter05"?>7 <title>GCC-&gcc-version; - Pass 1</title> 8 <?dbhtml filename="gcc-pass1.html"?> 4 9 5 <screen>&buildtime; &gcc-time-tools-pass1; 6 &diskspace; &gcc-compsize-tools-pass1;</screen> 10 <indexterm zone="ch-tools-gcc-pass1"> 11 <primary sortas="a-GCC">GCC</primary> 12 <secondary>tools, pass 1</secondary></indexterm> 7 13 8 <literallayout>Official download location for GCC (&gcc-version;): 9 <ulink url="ftp://ftp.gnu.org/pub/gnu/gcc/"/></literallayout> 14 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gcc.xml" xpointer="xpointer(/sect1/para[1])"/> 10 15 11 &aa-gcc-dep; 16 <screen>&buildtime; 4.4 SBU 17 &diskspace; 300 MB</screen> 12 18 13 <sect2><title> </title><para> </para></sect2> 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gcc.xml" xpointer="xpointer(/sect1/para[2])"/> 20 14 21 15 22 <sect2> … … 17 24 18 25 <para>Unpack only the GCC-core tarball, as we won't be needing the C++ compiler 19 nor the test suite at the moment.</para>26 nor the test suite here.</para> 20 27 21 28 <para>This package is known to behave badly when you change its default … … 23 30 <emphasis>-mcpu</emphasis> options). Therefore, if you have defined any 24 31 environment variables that override default optimizations, such as CFLAGS and 25 CXXFLAGS, we recommend un setting them when building GCC.</para>32 CXXFLAGS, we recommend un-setting them when building GCC.</para> 26 33 27 34 <para>The GCC documentation recommends building GCC outside of the source … … 33 40 <para>Prepare GCC for compilation:</para> 34 41 35 <screen><userinput>../ &gcc-dir;/configure --prefix=/tools \36 --with-local-prefix=/tools \37 --disable-nls --enable-shared \38 --enable-languages=c</userinput></screen>42 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/tools \ 43 --with-local-prefix=/tools \ 44 --disable-nls --enable-shared \ 45 --enable-languages=c</userinput></screen> 39 46 40 47 <para>The meaning of the configure options:</para> … … 45 52 from <command>gcc</command>'s include search path. This is not absolutely 46 53 essential; however, we want to try to minimize the influence of the host 47 system, thus makingthis a sensible thing to do.</para></listitem>54 system, so this a sensible thing to do.</para></listitem> 48 55 49 56 <listitem><para><userinput>--enable-shared</userinput>: This switch may … … 84 91 programs from this first pass will soon be replaced.</para> 85 92 86 <para> Andinstall the package:</para>93 <para>Now install the package:</para> 87 94 88 95 <screen><userinput>make install</userinput></screen> … … 99 106 </sect2> 100 107 101 <sect2><title> </title><para> </para>108 <sect2><title> </title><para> </para> 102 109 <para>The details on this package are found in <xref linkend="contents-gcc"/>.</para> 103 <para> </para></sect2>110 <para> </para></sect2> 104 111 105 112 </sect1> 106
Note:
See TracChangeset
for help on using the changeset viewer.