aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/diffutils-static-inst.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/diffutils-static-inst.sgml')
-rw-r--r--chapter05/diffutils-static-inst.sgml21
1 files changed, 21 insertions, 0 deletions
diff --git a/chapter05/diffutils-static-inst.sgml b/chapter05/diffutils-static-inst.sgml
new file mode 100644
index 000000000..60874c3f9
--- /dev/null
+++ b/chapter05/diffutils-static-inst.sgml
@@ -0,0 +1,21 @@
+<sect2>
+<title>Installation of Diffutils</title>
+
+<para>
+Install Diffutils by running the following commands:
+</para>
+
+<blockquote><literallayout>
+
+ <userinput>export CPPFLAGS=-Dre_max_failures=re_max_failures2
+ &amp;&amp;</userinput>
+ <userinput>./configure --prefix=$LFS/usr --disable-nls
+ &amp;&amp;</userinput>
+ <userinput>unset CPPFLAGS &amp;&amp;</userinput>
+ <userinput>make LDFLAGS=-static &amp;&amp;</userinput>
+ <userinput>make install</userinput>
+
+</literallayout></blockquote>
+
+</sect2>
+