aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gzip-inst.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2003-05-02 18:20:20 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2003-05-02 18:20:20 +0000
commitbc82645e958948a6aefd3147a0d7f712de9eaf6b (patch)
tree4855b70f785c1e6bf04856e97824988120503b05 /chapter05/gzip-inst.xml
parent55b50e3f6653cef278bad7e45fe5a378966953a7 (diff)
Integrated Pure LFS - Phase 1
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2490 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/gzip-inst.xml')
-rw-r--r--chapter05/gzip-inst.xml19
1 files changed, 8 insertions, 11 deletions
diff --git a/chapter05/gzip-inst.xml b/chapter05/gzip-inst.xml
index 77737e234..9e92aeef6 100644
--- a/chapter05/gzip-inst.xml
+++ b/chapter05/gzip-inst.xml
@@ -3,17 +3,14 @@
<sect2>
<title>Installation of Gzip</title>
-<para>Prepare Gzip to be compiled:</para>
-
-<para><screen><userinput>./configure --prefix=$LFS/static</userinput></screen></para>
-
-<para>Continue with compiling the package:</para>
-
-<para><screen><userinput>make LDFLAGS="-static"</userinput></screen></para>
-
-<para>And finish off installing the package:</para>
-
-<para><screen><userinput>make install</userinput></screen></para>
+<para><screen><userinput>CFLAGS="-O2 -pipe" ./configure --prefix=/stage1
+make LDFLAGS="-s"
+make check
+make install
+rm -f /stage1/bin/{gunzip,zcat}
+ln -s gzip /stage1/bin/gunzip
+ln -s gzip /stage1/bin/zcat
+ln -s gunzip /stage1/bin/uncompress</userinput></screen></para>
</sect2>