X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com From: John Ottusch 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: References: <20110429185611 DOT GE802 AT calimero DOT vinschen DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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