X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0	tests=BAYES_00,FREEMAIL_FROM,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: John Ottusch <ncokwqc02@sneakemail.com>
Subject: Re: CYGWIN withholds error message when trying to run  64-bit binary on 32-bit PC
Date: Fri, 29 Apr 2011 20:06:19 +0000 (UTC)
Lines: 15
Message-ID: <loom.20110429T220242-986@post.gmane.org>
References: <loom.20110429T192743-326@post.gmane.org> <20110429185611.GE802@calimero.vinschen.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


> 
> THe problem is that the Win32 error code ERROR_EXE_MACHINE_TYPE_MISMATCH
> isn't mapped to a POSIX errno.  Thus it's converted to the default EACCES.
> I checked in a patch to CVS which maps the error code to ENOEXEC.
> 
> Corinna
> 


Mucho thanko. 

I'll look forward to the next CYGWIN release displaying the improved behavior.

jjo


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

