From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5899 invoked by alias); 26 Sep 2005 19:16:27 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 5877 invoked by uid 22791); 26 Sep 2005 19:16:23 -0000 Received: from nitzan.inter.net.il (HELO nitzan.inter.net.il) (192.114.186.20) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 26 Sep 2005 19:16:23 +0000 Received: from HOME-C4E4A596F7 (IGLD-83-130-206-248.inter.net.il [83.130.206.248]) by nitzan.inter.net.il (MOS 3.6.5-GR) with ESMTP id BNL69822 (AUTH halo1); Mon, 26 Sep 2005 22:16:11 +0300 (IDT) Date: Mon, 26 Sep 2005 19:16:00 -0000 Message-Id: From: Eli Zaretskii To: Dave Murphy CC: gdb-patches@sources.redhat.com In-reply-to: <20050926141436.GA2527@nevyn.them.org> (message from Daniel Jacobowitz on Mon, 26 Sep 2005 10:14:36 -0400) Subject: Re: [patch] Build arm-elf-gdb on mingw host Reply-to: Eli Zaretskii References: <4337317B.3050300@ntlworld.com> <20050926035937.GA24565@nevyn.them.org> <43377D19.7050505@ntlworld.com> <20050926132325.GA1219@nevyn.them.org> <20050926140841.GB17370@trixie.casa.cgf.cx> <20050926141436.GA2527@nevyn.them.org> X-SW-Source: 2005-09/txt/msg00232.txt.bz2 > Date: Mon, 26 Sep 2005 10:14:36 -0400 > From: Daniel Jacobowitz > > 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?