From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.bugs,gmane.emacs.windows Subject: Re: [h-e-w] Current word on binaries Date: 18 Feb 2004 00:13:32 +0000 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <009901c3ec70$b3013940$6400a8c0@austin.rr.com> <7494-Sat14Feb2004140608+0200-eliz@elta.co.il> <3405-Tue17Feb2004210320+0200-eliz@elta.co.il> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1077063677 16064 80.91.224.253 (18 Feb 2004 00:21:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 Feb 2004 00:21:17 +0000 (UTC) Cc: help-emacs-windows@gnu.org, bug-gnu-emacs@gnu.org, harald@maierh.de, rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 18 01:21:09 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AtFSf-0005To-00 for ; Wed, 18 Feb 2004 01:21:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AtFPX-0000MU-IX for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Feb 2004 19:17:55 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AtFNW-0008Fg-2u for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2004 19:15:50 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AtFN5-000898-Kb for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2004 19:15:44 -0500 Original-Received: from [194.106.33.36] (helo=server0027.freedom2surf.net) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AtFLw-0007qr-Ed; Tue, 17 Feb 2004 19:14:12 -0500 Original-Received: from wanchan.jasonrumney.net (i-195-137-77-250.freedom2surf.net [195.137.77.250]) by server0027.freedom2surf.net (8.12.6/8.12.6/Debian-7) with ESMTP id i1I0E8sT003088; Wed, 18 Feb 2004 00:14:09 GMT Original-Received: from NYAUMO (nyaumo.jasonrumney.net [10.0.0.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id 0E5E7DDD70; Wed, 18 Feb 2004 00:14:08 +0000 (GMT) Original-To: Eli Zaretskii In-Reply-To: <3405-Tue17Feb2004210320+0200-eliz@elta.co.il> Original-Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:6995 gmane.emacs.windows:2029 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:6995 "Eli Zaretskii" writes: > I remember the patch, I just don't understand how this issue could be > uncovered by some change in the compiler. To the best of my > understanding, the original code should have bitten us a long time > ago. > > What am I missing? Linking with binmode.obj has been the way we have avoided being bitten by MSVC in the past, but earlier versions of GCC defaulted to binary mode and did not contain a binmode.obj (or .o) so that was made conditional in the makefile. More recent versions of GCC now act more like Windows compilers, defaulting to text mode and providing a binmode.o to link with if you want binary mode as the default.