This is the mail archive of the
mailing list for the GDB project.
Re: [patch] Build arm-elf-gdb on mingw host
> Date: Mon, 26 Sep 2005 05:46:17 +0100
> From: Dave Murphy <email@example.com>
> CC: Eli Zaretskii <firstname.lastname@example.org>, email@example.com
> Sorry, I should have said that under mingw/msys files read in text mode
> have line endings converted. There are numerous places in chew.c where
> it checks for a newline character with expressions like "while (at (tos,
> idx) == '\n')", see skip_white_and_stars(src, idx),
> strip_trailing_newlines(), remove_noncomments (src, dst),
> outputdots(), courierize(), bulletize(), copy_past_newline (ptr, idx,
> dst), kill_bogus_lines(), indent(), skip_past_newline () and nextword
> (string, word). It seemed easier to just read the input files as binary
> and suppress the conversion rather than make all the code deal with the
> "/r/n" sequence.
Text-mode read conversion just removes \r from a \r\n pair, thus
doing exactly what you want.
Others suggested that you actually mean the problem is with makeinfo,
not with chew. The error messages you show us also seem to indicate
that this is the problem. Can you please confirm that this indeed is