Browse Source

added explanation

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@936 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Mark Hymers 24 năm trước cách đây
mục cha
commit
dd8dfac524
1 tập tin đã thay đổi với 9 bổ sung0 xóa
  1. 9 0
      chapter05/fileutils-exp.xml

+ 9 - 0
chapter05/fileutils-exp.xml

@@ -1,6 +1,15 @@
 <sect2>
 <title>Command explanations</title>
 
+<para><screen><userinput>sed 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \</userinput>
+<userinput>	lib/Makefile.in &gt; tmp &amp;&amp;</userinput>
+<userinput>sed 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \</userinput>
+<userinput>	tmp &gt; lib/Makefile.in : </userinput></screen> This is used
+to fix a problem with building fileutils statically on AMD systems.  If
+this isn't done, then there is the possibility of all of the fileutils
+programs causing segmentation faults once chroot is entered in chapter
+6.</para>
+
 <para><userinput>--libexecdir=$LFS/bin:</userinput> This configure option will
 set the program executable directory to $LFS/bin. This is normally set
 to /usr/libexec, but nothing is placed in it. Changing it just prevents