Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Christopher Faylor <me@cgf.cx>
To: Dave Murphy <wintermute2k4@ntlworld.com>,
	gdb-patches@sources.redhat.com, Eli Zaretskii <eliz@gnu.org>
Subject: Re: [patch] Build arm-elf-gdb on mingw host
Date: Tue, 27 Sep 2005 02:02:00 -0000	[thread overview]
Message-ID: <20050927020157.GA5708@trixie.casa.cgf.cx> (raw)
In-Reply-To: <ull1jk5c3.fsf@gnu.org>

On Mon, Sep 26, 2005 at 10:16:12PM +0300, Eli Zaretskii wrote:
>> Date: Mon, 26 Sep 2005 10:14:36 -0400
>> From: Daniel Jacobowitz <drow@false.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?

It's easy to do in cygwin by just linking with "automode.o" (which causes
that behavior) but I don't think it's easy to do in raw mingw.

cgf


  reply	other threads:[~2005-09-27  2:02 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-25 23:23 Dave Murphy
2005-09-26  3:46 ` Eli Zaretskii
2005-09-26  3:59   ` Daniel Jacobowitz
2005-09-26  4:46     ` Dave Murphy
2005-09-26 13:23       ` Daniel Jacobowitz
2005-09-26 14:09         ` Christopher Faylor
2005-09-26 14:14           ` Daniel Jacobowitz
2005-09-26 14:26             ` Christopher Faylor
2005-09-26 14:31               ` Daniel Jacobowitz
2005-09-26 15:41                 ` Christopher Faylor
2005-09-26 19:18                 ` Eli Zaretskii
2006-04-08 20:21               ` Daniel Jacobowitz
2006-04-10 16:51                 ` Christopher Faylor
2006-04-10 16:58                   ` Daniel Jacobowitz
2005-09-26 19:16             ` Eli Zaretskii
2005-09-27  2:02               ` Christopher Faylor [this message]
2005-09-26 19:13           ` Eli Zaretskii
2005-09-26 19:08       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050927020157.GA5708@trixie.casa.cgf.cx \
    --to=me@cgf.cx \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=wintermute2k4@ntlworld.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox