Ignore:
Timestamp:
Feb 21, 2006, 1:36:57 AM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
d0321161
Parents:
351f3e1f
Message:

r856@server (orig r854): jim | 2005-12-06 15:34:00 -0800

r984@server: jim | 2005-12-06 15:32:19 -0800
Move cross-tools . This will provide a way plan for livecd builds to recover from builds that go wrong.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-preps/creatingcrossdir.xml

    r351f3e1f r6b369e9  
    99  <?dbhtml filename="creatingcrossdir.html"?>
    1010
    11   <title>Creating the $HOME/cross-tools Directory</title>
     11  <title>Creating the $LFS/cross-tools Directory</title>
    1212
    1313  <para>All programs compiled in <xref linkend="chapter-cross-tools"/> will
    14   be installed under <filename class="directory">$HOME/cross-tools</filename>
     14  be installed under <filename class="directory">$LFS/cross-tools</filename>
    1515  to keep them separate from the host programs. The programs compiled here are
    1616  cross tools and will not be a part of the final LFS system. By keeping these
     
    2121  the <systemitem class="username">lfs</systemitem> user:</para>
    2222
    23 <screen><userinput>install -d $HOME/cross-tools</userinput></screen>
     23<screen><userinput>install -d $LFS/cross-tools</userinput></screen>
    2424
    2525  <para>The next step is to create a <filename
     
    3030  <systemitem class="username">root</systemitem>:</para>
    3131
    32 <screen><userinput>exit
    33 LFSHOME=`echo ~lfs`
    34 ln -s $LFSHOME/cross-tools /
    35 unset LFSHOME
    36 su - lfs</userinput></screen>
     32<screen><userinput>ln -s $LFS/cross-tools /</userinput></screen>
    3733
    38   <para>TO BE REWRITTEN - The created symlink enables the toolchain to be
    39   compiled so that
     34  <para>The created symlink enables the toolchain to be compiled so that
    4035  it always refers to <filename class="directory">/cross-tools</filename>,
    41   meaning that the compiler, assembler, and linker will work both in
    42   this chapter and this host architecture and in the next (when we are
    43   <quote>chrooted</quote> to the LFS partition).</para>
     36  meaning that the compiler, assembler, and linker will be avaialble for
     37  use later if some unforseen circumstances happen.</para>
    4438
    4539</sect1>
Note: See TracChangeset for help on using the changeset viewer.