Ignore:
Timestamp:
02/25/2022 08:47:36 PM (2 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
arm
Children:
9c0b35a
Parents:
b0a6b0c
Message:

Initial LFS-ARM book.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/gcc-pass1.xml

    rb0a6b0c r460f575  
    4444    <title>Installation of Cross GCC</title>
    4545
    46     <para>GCC requires the GMP, MPFR and MPC packages. As these packages may
    47     not be included in your host distribution, they will be built with
     46    <para>GCC requires the GMP, ISL, MPFR and MPC packages. As these packages
     47    may not be included in your host distribution, they will be built with
    4848    GCC.  Unpack each package into the GCC source directory and rename the
    4949    resulting directories so the GCC build procedures will automatically
     
    6161mv -v gmp-&gmp-version; gmp
    6262tar -xf ../mpc-&mpc-version;.tar.gz
    63 mv -v mpc-&mpc-version; mpc</userinput></screen>
    64 
    65     <para>On x86_64 hosts, set the default directory name for
     63mv -v mpc-&mpc-version; mpc
     64tar -xf ../isl-&isl-version;.tar.xz
     65mv -v isl-&isl-version; isl</userinput></screen>
     66
     67    <para>On aarch64 hosts, set the default directory name for
    6668    64-bit libraries to <quote>lib</quote>:</para>
    6769
    6870<screen><userinput remap="pre">case $(uname -m) in
    69   x86_64)
    70     sed -e '/m64=/s/lib64/lib/' \
    71         -i.orig gcc/config/i386/t-linux64
     71  aarch64)
     72    sed -e '/mabi.lp64=/s/lib64/lib/' \
     73        -i.orig gcc/config/aarch64/t-aarch64-linux
    7274 ;;
    7375esac</userinput></screen>
     
    155157        <term><parameter>--disable-multilib</parameter></term>
    156158        <listitem>
    157           <para>On x86_64, LFS does not support a multilib configuration.
    158           This switch is harmless for x86.</para>
     159          <para>On aarch64, LFS does not support a multilib configuration.
     160          This switch is harmless for arm.</para>
    159161        </listitem>
    160162      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.