Changeset a0b95c2


Ignore:
Timestamp:
Dec 2, 2006, 10:02:38 AM (17 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:
45683dc
Parents:
7e7dd39
Message:

Environment Changes for Sysroot Changes

Location:
BOOK/final-preps
Files:
3 edited

Legend:

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

    r7e7dd39 ra0b95c2  
    2424<screen><userinput>install -dv ${CLFS}/cross-tools</userinput></screen>
    2525
    26   <para>The next step is to create a <filename
    27   class="symlink">/cross-tools</filename> symlink on the host system.
    28   This will point to the newly-created directory on the CLFS partition.
    29   Run this command as  <systemitem class="username">root</systemitem> as well:</para>
    30 
    31 <screen><userinput>ln -sv ${CLFS}/cross-tools /</userinput></screen>
    32 
    33   <para>The symlink isn't technically necessary (though the book's
    34   instructions do assume its existence), but is there mainly for
    35   consistency (because /tools is also symlinked to ${CLFS}/tools) and to
    36   simplify the installation of the cross-compile tools.</para>
    37 
    3826</sect1>
  • BOOK/final-preps/creatingtoolsdir.xml

    r7e7dd39 ra0b95c2  
    2626<screen><userinput>install -dv ${CLFS}/tools</userinput></screen>
    2727
    28   <para>The next step is to create a <filename class="symlink">/tools</filename>
    29   symlink on the host system. This will point to the newly-created directory
    30   on the CLFS partition. Run this command as <systemitem
    31   class="username">root</systemitem> as well:</para>
    32 
    33 <screen><userinput>ln -sv ${CLFS}/tools /</userinput></screen>
    34 
    35   <note>
    36     <para>The above command is correct. The <command>ln</command> command
    37     has a few syntactic variations, so be sure to check <command>info
    38     coreutils ln</command> and <filename>ln(1)</filename> before reporting
    39     what you may think is an error.</para>
    40   </note>
    41 
    42   <para>The created symlink enables the toolchain to be compiled so that
    43   it always refers to <filename class="directory">/tools</filename>,
    44   meaning that the compiler, assembler, and linker will work. This will
    45   provide a common place for our temporary tools system.</para>
    46 
    4728</sect1>
  • BOOK/final-preps/settingenviron.xml

    r7e7dd39 ra0b95c2  
    4444CLFS=/mnt/clfs
    4545LC_ALL=POSIX
    46 PATH=/cross-tools/bin:/bin:/usr/bin
     46PATH=${CLFS}/cross-tools/bin:/bin:/usr/bin
    4747export CLFS LC_ALL PATH</literal>
    4848EOF</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.