aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc.xml
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 /chapter06/gcc.xml
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
Diffstat (limited to 'chapter06/gcc.xml')
-rw-r--r--chapter06/gcc.xml11
1 files changed, 11 insertions, 0 deletions
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">