[patch] Build arm-elf-gdb on mingw host

Daniel Jacobowitz drow@false.org
Sat Apr 8 20:21:00 GMT 2006


On Mon, Sep 26, 2005 at 10:26:11AM -0400, Christopher Faylor wrote:
> On Mon, Sep 26, 2005 at 10:14:36AM -0400, Daniel Jacobowitz wrote:
> >On Mon, Sep 26, 2005 at 10:08:41AM -0400, Christopher Faylor wrote:
> >>I think I get it.  This patch just modifies chew so that it always
> >>outputs '\n'.  Then you see '\n' on input no matter what.
> >
> >Ah, so the problem is that makeinfo fails to handle the '\r\n'?
> >Funny...  I'd have expected an msys version of texinfo to expect \r\n.
> 
> Ditto.  I just checked and I didn't do this in earlier cygwin versions
> but I did rectify at this at some point this year so that texinfo now
> should be line-ending agnostic on cygwin.

Hi Chris,

Are you sure?  I had this exact GDB build failure today; then I
staggered through a Cygwin upgrade (it tried to eat itself in
the postinstall scripts...) and tried again, same behavior.  I'm using
Cygwin, no MSYS involved.

Sedding away the \r's in chew's output lets the build succeed.

This vaguely suggests that we ought to make chew only output \n's, for
compatibility...

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list