From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Issues with Windows gcc -mno-cygwin (Mingw) Date: 18 Mar 2003 18:26:49 +0000 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1048012136 1933 80.91.224.249 (18 Mar 2003 18:28:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 18 Mar 2003 18:28:56 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Mar 18 19:28:54 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18vLpW-0000V0-00 for ; Tue, 18 Mar 2003 19:28:54 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18vLpu-00051o-00 for ; Tue, 18 Mar 2003 19:29:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18vLoW-0003s7-0A for emacs-devel@quimby.gnus.org; Tue, 18 Mar 2003 13:27:52 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18vLo6-0003MN-00 for emacs-devel@gnu.org; Tue, 18 Mar 2003 13:27:26 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18vLo0-0002wg-00 for emacs-devel@gnu.org; Tue, 18 Mar 2003 13:27:21 -0500 Original-Received: from server0011.freedom2surf.net ([194.106.56.14] helo=server0027.freedom2surf.net) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18vLnx-0002h1-00 for emacs-devel@gnu.org; Tue, 18 Mar 2003 13:27:17 -0500 Original-Received: from nyaumo.jasonr.f2s.com ([195.137.103.251]) h2IIRHRT028220; Tue, 18 Mar 2003 18:27:17 GMT Original-Received: from nyaumo.jasonr.f2s.com (localhost [127.0.0.1]) by nyaumo.jasonr.f2s.com (Postfix) with ESMTP id 3437A4A950; Tue, 18 Mar 2003 18:26:50 +0000 (GMT) Original-To: Benjamin Riefenstahl In-Reply-To: Original-Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12446 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12446 Benjamin Riefenstahl writes: > - The cygpath issue. The Makefiles have the necessary code to use the > Cygwin cygpath utility, but it's commented out. I appreciate that > the situation is not very stable in that area, but could we consider > a conditional and a configure item for this? We do need that code > as long as we want Emacs to support Cygwin at compile-time, but not > at run-time, because without that code the Makefile will provide > Cygwin paths to ELisp. Ultimately cygwin should fix their port of make to pass paths that Windows programs expect, but if you would like to work on a conditional that does not break the build with mingw32 versions of make or when older versions of cygpath are installed, go ahead. > - Problem with _fmode (global MSC variable set to O_BINARY as the > default file mode). For a simple patch see below. Strictly > speaking I think the real problem is that this is not handled > without the _fmode hack. The code should just use its own global > variable (or even more simply just add O_BINARY everywhere) instead > of using this brittle compiler/runtime dependent solution. I don't understand what problem this is fixing. Can you explain some more?