Ignore:
Timestamp:
05/03/2004 10:59:46 AM (20 years ago)
Author:
Matthew Burgess <matthew@…>
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
Message:
  • Merged newxml into HEAD

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3435 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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]>
    16<sect1 id="ch-tools-gcc-pass1">
    2 <title>Installing GCC-&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"?>
    49
    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>
    713
    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])"/>
    1015
    11 &aa-gcc-dep;
     16<screen>&buildtime; 4.4 SBU
     17&diskspace; 300 MB</screen>
    1218
    13 <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
     19<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gcc.xml" xpointer="xpointer(/sect1/para[2])"/>
     20
    1421
    1522<sect2>
     
    1724
    1825<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>
     26nor the test suite here.</para>
    2027
    2128<para>This package is known to behave badly when you change its default
     
    2330<emphasis>-mcpu</emphasis> options). Therefore, if you have defined any
    2431environment variables that override default optimizations, such as CFLAGS and
    25 CXXFLAGS, we recommend unsetting them when building GCC.</para>
     32CXXFLAGS, we recommend un-setting them when building GCC.</para>
    2633
    2734<para>The GCC documentation recommends building GCC outside of the source
     
    3340<para>Prepare GCC for compilation:</para>
    3441
    35 <screen><userinput>../&gcc-dir;/configure --prefix=/tools \
    36 &nbsp;&nbsp;&nbsp;&nbsp;--with-local-prefix=/tools \
    37 &nbsp;&nbsp;&nbsp;&nbsp;--disable-nls --enable-shared \
    38 &nbsp;&nbsp;&nbsp;&nbsp;--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>
    3946
    4047<para>The meaning of the configure options:</para>
     
    4552from <command>gcc</command>'s include search path. This is not absolutely
    4653essential; however, we want to try to minimize the influence of the host
    47 system, thus making this a sensible thing to do.</para></listitem>
     54system, so this a sensible thing to do.</para></listitem>
    4855
    4956<listitem><para><userinput>--enable-shared</userinput>: This switch may
     
    8491programs from this first pass will soon be replaced.</para>
    8592
    86 <para>And install the package:</para>
     93<para>Now install the package:</para>
    8794
    8895<screen><userinput>make install</userinput></screen>
     
    99106</sect2>
    100107
    101 <sect2><title>&nbsp;</title><para>&nbsp;</para>
     108<sect2><title> </title><para> </para>
    102109<para>The details on this package are found in <xref linkend="contents-gcc"/>.</para>
    103 <para>&nbsp;</para></sect2>
     110<para> </para></sect2>
    104111
    105112</sect1>
    106 
Note: See TracChangeset for help on using the changeset viewer.