Changeset 63e8d0a for chapter06/gcc.xml


Ignore:
Timestamp:
07/26/2014 10:56:45 AM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
Children:
2559640d
Parents:
ba9a546
Message:

Import latest lfs changes.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/gcc.xml

    rba9a546 r63e8d0a  
    4141  <sect2 role="installation">
    4242    <title>Installation of GCC</title>
    43 
     43<!--
    4444    <para>First fix a problem identified upstream that causes some
    4545    programs to fail:</para>
    4646
    4747<screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-patch;</userinput></screen>
     48-->
    4849<!--
    4950    <para>As in <xref linkend="ch-tools-gcc-pass2"/>, apply the following
     
    155156
    156157<screen><userinput remap="install">install -dm755 /usr/lib/bfd-plugins
    157 pushd /usr/lib/bfd-plugins
    158 
    159 if [ $(uname -m) == "i686" ]; then
    160    ln -sfv ../../libexec/gcc/i686-pc-linux-gnu/&gcc-version;/liblto_plugin.so
    161 else
    162    ln -sfv ../../libexec/gcc/x86_64-unknown-linux-gnu/&gcc-version;/liblto_plugin.so
    163 fi
    164 
    165 popd</userinput></screen>
     158ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/&gcc-version;/liblto_plugin.so /usr/lib/bfd-plugins/</userinput></screen>
    166159
    167160    <para>Now that our final toolchain is in place, it is important to again ensure
Note: See TracChangeset for help on using the changeset viewer.