diff options
Diffstat (limited to 'chapter05/gzip-inst.xml')
-rw-r--r-- | chapter05/gzip-inst.xml | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/chapter05/gzip-inst.xml b/chapter05/gzip-inst.xml index e7828b436..77737e234 100644 --- a/chapter05/gzip-inst.xml +++ b/chapter05/gzip-inst.xml @@ -1,11 +1,19 @@ +<sect2><title> </title><para> </para></sect2> + <sect2> <title>Installation of Gzip</title> -<para>Install Gzip by running the following commands:</para> +<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>./configure --prefix=$LFS/static && -make LDFLAGS="-static" && -make install</userinput></screen></para> +<para><screen><userinput>make install</userinput></screen></para> </sect2> |