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 10:14:36 -0400
> From: Daniel Jacobowitz <firstname.lastname@example.org>
> What about opening all input files in text mode and all output files
> in binary mode, on all platforms, if we need to do this?
There's no easy way of doing that, AFAIK, except if we add "rt" and
"wb" to every call to `fopen' (or the respective O_BINARY and O_TEXT
to every call to `open'). Is that what you were suggesting?