mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
Minor adjustments, mainly of markup. And dropping file removal from the 'stripping' phase -- the files are small.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2815 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
a84e1e2e2c
commit
238527e104
@ -6,7 +6,7 @@
|
||||
variable LFS will be used frequently. $LFS must at all times be replaced with
|
||||
the directory where the partition that contains the LFS system is mounted. How
|
||||
to create and where to mount the partition will be explained in full detail in
|
||||
Chapter 4. For the moment let's assume that the LFS partition is mounted on
|
||||
Chapter 3. For the moment let's assume that the LFS partition is mounted on
|
||||
<filename>/mnt/lfs</filename>.</para>
|
||||
|
||||
<para>When you are told to run a command like
|
||||
|
@ -23,11 +23,11 @@ The swap partition for your LFS system can be the same one as for your host
|
||||
system, so you won't have to create another if your host system already uses
|
||||
a swap partition.</para>
|
||||
|
||||
<para>Start the <filename>cfdisk</filename> program with an argument naming
|
||||
<para>Start the <userinput>cfdisk</userinput> program with an argument naming
|
||||
the hard disk upon which the new partition must be created -- for example
|
||||
<filename>/dev/hda</filename> for the primary IDE disk. Create a Linux native
|
||||
partition and a swap partition, if needed. Please refer to the man page of
|
||||
<filename>cfdisk</filename> if you don't yet know how to use the program.</para>
|
||||
<userinput>cfdisk</userinput> if you don't yet know how to use the program.</para>
|
||||
|
||||
<para>Remember the designation of your new partition -- something like
|
||||
<filename>hda5</filename>. This book will refer to it as the LFS partition.
|
||||
|
@ -97,10 +97,8 @@ Gawk (&gawk-version;) - &gawk-size;:
|
||||
|
||||
GCC (&gcc-2953-version;) - &gcc-2953-size;:
|
||||
<ulink url="http://freshmeat.net/projects/gcc/"/>
|
||||
|
||||
GCC-core (&gcc-version;) - &gcc-core-size;:
|
||||
<ulink url="http://freshmeat.net/projects/gcc/"/>
|
||||
|
||||
GCC-g++ (&gcc-version;) - &gcc-gpp-size;:
|
||||
<ulink url="http://freshmeat.net/projects/gcc/"/>
|
||||
|
||||
@ -112,7 +110,6 @@ Gettext (&gettext-version;) - &gettext-size;:
|
||||
|
||||
Glibc (&glibc-version;) - &glibc-size;:
|
||||
<ulink url="http://freshmeat.net/projects/glibc/"/>
|
||||
|
||||
Glibc-linuxthreads (&glibc-version;) - &glibc-threads-size;:
|
||||
<ulink url="http://freshmeat.net/projects/glibc/"/>
|
||||
|
||||
|
@ -56,11 +56,10 @@ of binaries.</para>
|
||||
<userinput>--strip-unneeded</userinput> on the libraries -- they would be
|
||||
destroyed and you would have to build Glibc all over again.</para>
|
||||
|
||||
<para>To save another couple of megabytes, you can throw away the documentation
|
||||
and some of the bigger unneeded programs:</para>
|
||||
<para>To save another couple of megabytes, you can throw away all the
|
||||
documentation:</para>
|
||||
|
||||
<para><screen><userinput>rm -rf /tools/{,share/}{doc,info,man}
|
||||
rm /tools/bin/{addr2line,gprof,nm,size,strings,strip}</userinput></screen></para>
|
||||
<para><screen><userinput>rm -rf /tools/{,share/}{doc,info,man}</userinput></screen></para>
|
||||
|
||||
<para>You will now need to have at least 700 MB of free space on your LFS
|
||||
filesystem to be able to build and install Glibc in the next phase.</para>
|
||||
|
@ -5,14 +5,14 @@
|
||||
<para>While logged in as user <emphasis>lfs</emphasis>, issue the
|
||||
following commands to set up a good work environment:</para>
|
||||
|
||||
<para><screen><userinput>cat > ~/.bash_profile << "EOF"
|
||||
<para><screen><userinput>cat > ~/.bash_profile << "EOF"</userinput>
|
||||
set +h
|
||||
umask 022
|
||||
LFS=/mnt/lfs
|
||||
LC_ALL=POSIX
|
||||
PATH=/tools/bin:$PATH
|
||||
export LFS LC_ALL PATH
|
||||
EOF
|
||||
<userinput>EOF
|
||||
|
||||
source ~/.bash_profile</userinput></screen></para>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user