source: final-preps/creatingcrossdir.xml@ 4d6fcf9

Last change on this file since 4d6fcf9 was ed3e5d8, checked in by Jim Gifford <clfs@…>, 19 years ago

r967@server (orig r965): jim | 2005-12-26 22:57:04 -0800

r1199@server: jim | 2005-12-26 22:55:55 -0800
Grammar fixes from Chris Staub. Thank you


  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[bf8c11f]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-final-preps-creatingcrossdir">
9 <?dbhtml filename="creatingcrossdir.html"?>
10
[9531391]11 <title>Creating the $LFS/cross-tools Directory</title>
[bf8c11f]12
13 <para>All programs compiled in <xref linkend="chapter-cross-tools"/> will
[9531391]14 be installed under <filename class="directory">$LFS/cross-tools</filename>
[bf8c11f]15 to keep them separate from the host programs. The programs compiled here are
16 cross tools and will not be a part of the final LFS system. By keeping these
17 programs in a separate directory, they can easily be discarded later after
18 their use.</para>
19
20 <para>Create the required directory by running the following as
[bdc79fd]21 <systemitem class="username">root</systemitem>:</para>
[bf8c11f]22
[9531391]23<screen><userinput>install -d $LFS/cross-tools</userinput></screen>
[bf8c11f]24
25 <para>The next step is to create a <filename
26 class="symlink">/cross-tools</filename> symlink on the host system.
[ed3e5d8]27 This will point to the newly-created directory on the LFS partition.
28 Run this command as <systemitem class="username">root</systemitem> as well:</para>
[bf8c11f]29
[9531391]30<screen><userinput>ln -s $LFS/cross-tools /</userinput></screen>
[bf8c11f]31
[9531391]32 <para>The created symlink enables the toolchain to be compiled so that
[bf8c11f]33 it always refers to <filename class="directory">/cross-tools</filename>,
[ed3e5d8]34 meaning that the compiler, assembler, and linker will be available for
[9531391]35 use later if some unforseen circumstances happen.</para>
[bf8c11f]36
37</sect1>
Note: See TracBrowser for help on using the repository browser.