source: chapter05/generalinstructions.xml@ 7a95c73

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 7a95c73 was 16471f8, checked in by Bruce Dubbs <bdubbs@…>, 15 years ago

Reworded the notes in the General Compilation Instructions
and added a note to bin-utils to have users actually
read the General Compilation Instructions.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9053 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-tools-generalinstructions">
9 <?dbhtml filename="generalinstructions.html"?>
10
11 <title>General Compilation Instructions</title>
12
13 <para>When building packages there are several assumptions made within
14 the instructions:</para>
15
16 <itemizedlist>
17
18 <listitem>
19 <para>Several of the packages are patched before compilation, but only when
20 the patch is needed to circumvent a problem. A patch is often needed in
21 both this and the next chapter, but sometimes in only one or the other.
22 Therefore, do not be concerned if instructions for a downloaded patch seem
23 to be missing. Warning messages about <emphasis>offset</emphasis> or
24 <emphasis>fuzz</emphasis> may also be encountered when applying a patch. Do
25 not worry about these warnings, as the patch was still successfully
26 applied.</para>
27 </listitem>
28
29 <listitem>
30 <para>During the compilation of most packages, there will be several
31 warnings that scroll by on the screen. These are normal and can safely be
32 ignored. These warnings are as they appear&mdash;warnings about
33 deprecated, but not invalid, use of the C or C++ syntax. C standards change
34 fairly often, and some packages still use the older standard. This is not a
35 problem, but does prompt the warning.</para>
36
37 <important>
38 <para>After installing each package, delete its source and build
39 directories, unless specifically instructed otherwise. Deleting the
40 sources prevents mis-configuration when the same package is reinstalled
41 later.</para>
42 </important>
43 </listitem>
44
45 <listitem>
46 <para>Check one last time that the <envar>LFS</envar> environment variable
47 is set up properly:</para>
48
49<screen role="nodump"><userinput>echo $LFS</userinput></screen>
50
51 <para>Make sure the output shows the path to the LFS partition's mount
52 point, which is <filename class="directory">/mnt/lfs</filename>, using our
53 example.</para>
54 </listitem>
55
56 <listitem>
57
58 <para>Finally, two last important items must be emphasized:</para>
59
60 <important>
61 <para>The build instructions assume that the <command>bash</command>
62 shell is in use.</para>
63 </important>
64
65 <important>
66 <para>Before issuing the build instructions for a package, the package
67 should be unpacked as user <systemitem class="username">lfs</systemitem>,
68 and a <command>cd</command> into the created directory should be
69 performed.</para>
70 </important>
71 </listitem>
72
73 </itemizedlist>
74
75</sect1>
Note: See TracBrowser for help on using the repository browser.