aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc.xml
diff options
context:
space:
mode:
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">