diff options
author | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-06-21 16:12:37 +0000 |
---|---|---|
committer | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-06-21 16:12:37 +0000 |
commit | 3022304849cf749b3a97e48e0683ae9eb3a76e40 (patch) | |
tree | a08170f2a0fd9358d7622993d05fa51970db0a43 | |
parent | 4798321215febe22a7c4debe21f7d241ab9e489a (diff) |
Remove an unneeded file
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11971 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter04/creatingtoolsdir.xml | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/chapter04/creatingtoolsdir.xml b/chapter04/creatingtoolsdir.xml deleted file mode 100644 index 0a42daa70..000000000 --- a/chapter04/creatingtoolsdir.xml +++ /dev/null @@ -1,48 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" - "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ - <!ENTITY % general-entities SYSTEM "../general.ent"> - %general-entities; -]> - -<sect1 id="ch-preps-creatingtoolsdir"> - <?dbhtml filename="creatingtoolsdir.html"?> - - <title>Creating the $LFS/tools Directory</title> - - <para>All programs compiled in <xref linkend="chapter-temporary-tools"/> - will be installed under <filename class="directory">$LFS/tools</filename> - to keep them separate from the programs compiled in <xref - linkend="chapter-building-system"/>. The programs compiled here are - temporary tools and will not be a part of the final LFS system. By keeping - these programs in a separate directory, they can easily be discarded later - after their use. This also prevents these programs from ending up in the - host production directories (easy to do by accident in <xref - linkend="chapter-temporary-tools"/>).</para> - - <para>Create the required directory by running the following as - <systemitem class="username">root</systemitem>:</para> - -<screen><userinput>mkdir -v $LFS/tools</userinput></screen> - - <para>The next step is to create a <filename class="symlink">/tools</filename> - symlink on the host system. This will point to the newly-created directory on - the LFS partition. Run this command as <systemitem - class="username">root</systemitem> as well:</para> - -<screen><userinput>ln -sv $LFS/tools /</userinput></screen> - - <note> - <para>The above command is correct. The <command>ln</command> command - has a few syntactic variations, so be sure to check - <command>info coreutils ln</command> and <filename>ln(1)</filename> - before reporting what you may think is an error.</para> - </note> - - <para>The created symlink enables the toolchain to be compiled so that it - always refers to <filename class="directory">/tools</filename>, meaning - that the compiler, assembler, and linker will work both in Chapter 5 - (when we are still using some tools from the host) and in the next (when - we are <quote>chrooted</quote> to the LFS partition).</para> - -</sect1> |