Changeset 6b369e9 for BOOK/final-preps/creatingcrossdir.xml
- Timestamp:
- Feb 21, 2006, 1:36:57 AM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- d0321161
- Parents:
- 351f3e1f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-preps/creatingcrossdir.xml
r351f3e1f r6b369e9 9 9 <?dbhtml filename="creatingcrossdir.html"?> 10 10 11 <title>Creating the $ HOME/cross-tools Directory</title>11 <title>Creating the $LFS/cross-tools Directory</title> 12 12 13 13 <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> 15 15 to keep them separate from the host programs. The programs compiled here are 16 16 cross tools and will not be a part of the final LFS system. By keeping these … … 21 21 the <systemitem class="username">lfs</systemitem> user:</para> 22 22 23 <screen><userinput>install -d $ HOME/cross-tools</userinput></screen>23 <screen><userinput>install -d $LFS/cross-tools</userinput></screen> 24 24 25 25 <para>The next step is to create a <filename … … 30 30 <systemitem class="username">root</systemitem>:</para> 31 31 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> 37 33 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 40 35 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> 44 38 45 39 </sect1>
Note: See TracChangeset
for help on using the changeset viewer.