Author: bdubbs
Date: 2012-03-28 15:16:16 -0600 (Wed, 28 Mar 2012)
New Revision: 9795

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/gcc.xml
Log:
Move a python module for gdb generated by gcc out of /usr/lib

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml  2012-03-28 20:45:14 UTC (rev 9794)
+++ trunk/BOOK/chapter01/changelog.xml  2012-03-28 21:16:16 UTC (rev 9795)
@@ -40,12 +40,17 @@
       <para>2012-03-28</para>
       <itemizedlist>
          <listitem>
+           <para>[bdubbs] - Move a python module for gdb generated by gcc
+           to a better location. Fixes
+           <ulink url="&lfs-ticket-root;3048">#3048</ulink>.</para>
+         </listitem>
+         <listitem>
            <para>[bdubbs] - Adjust minimum version of xz-utils in Host
            Requirements.</para>
          </listitem>
          <listitem>
            <para>[bdubbs] - Reword description of log files in section
-           creating essential files.</para>
+           Creating Essential Files.</para>
          </listitem>
       </itemizedlist>
     </listitem>

Modified: trunk/BOOK/chapter06/gcc.xml
===================================================================
--- trunk/BOOK/chapter06/gcc.xml        2012-03-28 20:45:14 UTC (rev 9794)
+++ trunk/BOOK/chapter06/gcc.xml        2012-03-28 21:16:16 UTC (rev 9795)
@@ -289,6 +289,17 @@
     href="readjusting.xml"
     xpointer="xpointer(//*[@os='v'])"/>
 
+    <para>Finally, move a misplced file:</para>
+
+<screen><userinput remap="install">case `uname -m` in
+  i?86) 
GDBDIR=/usr/share/gdb/auto-load/usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/    
 ;;
+  *)    
GDBDIR=/usr/share/gdb/auto-load/usr/lib64/gcc/x86_64-pc-linux-gnu/&gcc-version;/
 ;;
+esac
+
+mkdir -pv $GDBDIR
+mv -v /usr/lib/*gdb.py $GDBDIR
+unset GDBDIR</userinput></screen>
+
   </sect2>
 
   <sect2 id="contents-gcc" role="content">

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to