aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2012-03-28 21:16:16 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2012-03-28 21:16:16 +0000
commit39ec01cf043b3a4b0aa10bc9aab35d8eb11e1def (patch)
tree9f708e2bd391fa4493fe27766407dd4aadb046f7
parent44f6add12aeee46ba681ce9a7a5fc06f39bff656 (diff)
Move a python module for gdb generated by gcc out of /usr/lib
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9795 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml7
-rw-r--r--chapter06/gcc.xml11
2 files changed, 17 insertions, 1 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 47caa3882..d2c9ea010 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -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>
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index dd88522bd..de0520a8c 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -289,6 +289,17 @@ SEARCH_DIR("/usr/lib");</computeroutput></screen>
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">