Jelajahi Sumber

Added groff-exp

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@702 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 24 tahun lalu
induk
melakukan
4e4f49248d
3 mengubah file dengan 15 tambahan dan 0 penghapusan
  1. 13 0
      chapter06/groff-exp.xml
  2. 1 0
      chapter06/groff.xml
  3. 1 0
      index.xml

+ 13 - 0
chapter06/groff-exp.xml

@@ -0,0 +1,13 @@
+<sect2>
+<title>Command explanations</title>
+
+<para>
+<userinput>CXXFLAGS=-Dstrerror=strerror</userinput>: If no macro
+strerror is defined, src/include/lib.h declares an function prototype
+for strerror which is incompatible with Glibc's /usr/include/string.h.
+By defining strerror=strerror a macro is defined which prevents the
+declaration and does not alter the meaning of strerror.
+</para>
+
+</sect2>
+

+ 1 - 0
chapter06/groff.xml

@@ -2,6 +2,7 @@
 <title>Installing Groff</title>
 
 &c6-groff-inst;
+&c6-groff-exp;
 &aa-groff-desc;
 
 </sect1>

+ 1 - 0
index.xml

@@ -245,6 +245,7 @@
 <!ENTITY c6-grep-inst SYSTEM "intel/chapter6/grep-inst.xml">
 <!ENTITY c6-groff SYSTEM "intel/chapter6/groff.xml">
 <!ENTITY c6-groff-inst SYSTEM "intel/chapter6/groff-inst.xml">
+<!ENTITY c6-groff-exp SYSTEM "intel/chapter6/groff-exp.xml">
 <!ENTITY c6-gzip SYSTEM "intel/chapter6/gzip.xml">
 <!ENTITY c6-gzip-inst SYSTEM "intel/chapter6/gzip-inst.xml">
 <!ENTITY c6-libtool SYSTEM "intel/chapter6/libtool.xml">