source: BOOK/final-preps/creatingtoolsdir.xml@ b37b055c

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since b37b055c was 7faa492, checked in by Chris Staub <chris@…>, 18 years ago

Combined creation of tools and cross-tools dirs onto one page

  • Property mode set to 100644
File size: 1.5 KB
Line 
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-creatingtoolsdir">
9 <?dbhtml filename="creatingtoolsdir.html"?>
10
11 <title>Creating the temporary tools directories</title>
12
13 <para>The cross-binutils and cross-compiler built in
14 <xref linkend="chapter-cross-tools"/> will be installed under
15 <filename class="directory">${CLFS}/cross-tools</filename> to keep them
16 separate from the host programs. The programs compiled here are
17 cross-tools and will not be a part of the final CLFS system or the
18 temp-system. Similarly, all programs compiled in
19 <xref linkend="chapter-temp-system"/> will be installed under
20 <filename class="directory">${CLFS}/tools</filename> to keep them separate
21 from the programs compiled in <xref linkend="chapter-building-system"/>.
22 This also prevents these programs from ending up in the host production
23 directories (easy to do by accident in <xref linkend="chapter-temp-system"/>).
24 By keeping the cross-compile tools and temporary-system programs in separate
25 directories, they can easily be discarded later after their use.</para>
26
27 <para>Create the required directories by running the following as
28 <systemitem class="username">root</systemitem>:</para>
29
30<screen><userinput>install -dv ${CLFS}/{tools,cross-tools}</userinput></screen>
31
32</sect1>
Note: See TracBrowser for help on using the repository browser.