source: BOOK/final-preps/creatingcrossdir.xml @ e97d7d3

Last change on this file since e97d7d3 was e97d7d3, checked in by Jim Gifford <clfs@…>, 18 years ago

r3557@server (orig r1622): chris | 2006-05-17 09:28:48 -0700
More text updates and changes to references to 'LFS'

  • Property mode set to 100644
File size: 1.6 KB
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3  "" [
4  <!ENTITY % general-entities SYSTEM "../general.ent">
5  %general-entities;
8<sect1 id="ch-final-preps-creatingcrossdir">
9  <?dbhtml filename="creatingcrossdir.html"?>
[6b369e9]11  <title>Creating the $LFS/cross-tools Directory</title>
[b0dbcb6]13  <para>The cross-binutils and cross-compiler built in
14  <xref linkend="chapter-cross-tools"/> will be installed under
15  <filename class="directory">$LFS/cross-tools</filename> to keep them
[e97d7d3]16  separate from the host programs. The programs compiled here are
[b0dbcb6]17  cross-tools and will not be a part of the final CLFS system or the
18  temp-system. By keeping these programs in a separate directory, they
19  can easily be discarded later after their use.</para>
21  <para>Create the required directory by running the following as
[49aadd01]22  <systemitem class="username">root</systemitem>:</para>
[3c17f8e]24<screen><userinput>install -dv $LFS/cross-tools</userinput></screen>
26  <para>The next step is to create a <filename
27  class="symlink">/cross-tools</filename> symlink on the host system.
[b0dbcb6]28  This will point to the newly-created directory on the CLFS partition.
[8659630]29  Run this command as  <systemitem class="username">root</systemitem> as well:</para>
[3c17f8e]31<screen><userinput>ln -sv $LFS/cross-tools /</userinput></screen>
[80605b0]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 $LFS/tools) and to
[b0dbcb6]36  simplify the installation of the cross-compile tools.</para>
Note: See TracBrowser for help on using the repository browser.