Mail Archives: djgpp-workers/2004/11/13/08:49:09
If you want to build GDB 6.3 (released a few days ago) with DJGPP, you
will need the following patches.
I committed them to the GDB CVS repository, so snapshots should build
OK, and future versions will, too.
HTH
diff -u -r1.8 djconfig.sh
--- gdb/config/djgpp/djconfig.sh 29 Dec 2003 07:35:35 -0000 1.8
+++ gdb/config/djgpp/djconfig.sh 13 Nov 2004 13:32:25 -0000
@@ -51,17 +51,22 @@
# Make sure they don't have some file names mangled by untarring.
echo -n "Checking the unpacked distribution..."
-if ( ! test -f ${srcdir}/intl/po2tblsed.in || \
- ! test -f ${srcdir}/gdb/ChangeLog.002 || \
+if ( ! test -f ${srcdir}/bfd/ChangeLog.0203 || \
+ ! test -f ${srcdir}/gdb/ChangeLog.002 || \
+ ! test -f ${srcdir}/opcodes/ChangeLog.0203 || \
! test -f ${srcdir}/readline/config.h-in ) ; then
- if ( ! test -f ${srcdir}/intl/po2tblsed.in ) ; then
- notfound=${srcdir}/intl/po2tblsed.in
+ if ( ! test -f ${srcdir}/bfd/ChangeLog.0203 ) ; then
+ notfound=${srcdir}/bfd/ChangeLog.0203
else
- if ( ! test -d ${srcdir}/gdb/testsuite/cxx) ; then
+ if ( ! test -f ${srcdir}/gdb/ChangeLog.002) ; then
notfound=${srcdir}/gdb/ChangeLog.002
else
if ( ! test -f ${srcdir}/readline/config.h-in ) ; then
notfound=${srcdir}/readline/config.h-in
+ else
+ if ( ! test -f ${srcdir}/opcodes/ChangeLog.0203 ) ; then
+ notfound=${srcdir}/opcodes/ChangeLog.0203
+ fi
fi
fi
fi
diff -u -r1.5 config.sed
--- gdb/config/djgpp/config.sed 29 Dec 2003 07:35:35 -0000 1.5
+++ gdb/config/djgpp/config.sed 13 Nov 2004 13:32:25 -0000
@@ -22,7 +22,8 @@
/^ac_given_srcdir=/,/^CEOF/ {
/^s%@TOPLEVEL_CONFIGURE_ARGUMENTS@%/a\
- /@test ! -f /s,\\(.\\)\$, export am_cv_exeext=.exe; export lt_cv_sys_max_cmd_len=12288; \\1,
+ /@test ! -f /s,\\(.\\)\$, export am_cv_exeext=.exe; export lt_cv_sys_max_cmd_len=12288; \\1,\
+ /@test -f stage_last /s,\\(.\\)\$, export am_cv_exeext=.exe; export lt_cv_sys_max_cmd_len=12288; \\1,
}
- Raw text -