Mail Archives: djgpp-workers/2009/09/04/11:52:16
> Date: Fri, 4 Sep 2009 09:15:00 -0500
> From: Rugxulo <rugxulo AT gmail DOT com>
>
> > Can someone build the latest GDB CVS snapshots with DJGPP?
>
> I personally could probably try later if you really really needed me
> to, but I've never built GDB before so I'm a little hesitant.
Don't rush just yet, see below.
> Wow, you sound exasperated!
Sorry, that was written in a moment of despair. It's hard to see your
work go down the drain because of some unrelated problem.
Since then, I already found the culprit: it's the use of (foo)
parenthesized expressions in functions (they do work outside of
functions). So my plan is to replace the offending functions' bodies
with equivalents that don't use (foo), as part of editing all the
configure scripts that the DJGPP build script for GDB already does.
> Yes, it's a very annoying bug, and
> apparently it's existed since 2004 (hi, Gordon!). No fix yet (Bash
> source is confusing!), but we do mostly know where the problem lies.
>
> http://www.delorie.com/djgpp/mail-archives/browse.cgi?p=djgpp/2006/08/08/16:37:27
> http://www.delorie.com/djgpp/mail-archives/browse.cgi?p=djgpp/2006/08/20/11:54:36
> http://lists.gnu.org/archive/html/bug-autoconf/2009-08/msg00066.html
>
> For now, I suggest the wonderful workaround of putting "( " and " )"
> around the "return $ac_retval" portions. That seems to make it work
> for DJGPP Bash, at least.
That's not the workaround I found, but I will try that as well. If it
works, it's an easier edit than what I had in mind.
> (I guess you didn't notice my similar issue when ZILE upgraded to
> AutoConf 2.64, heh.)
Sorry, cannot afford reading everything these days.
Thanks.
- Raw text -