delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/04/11:10:13

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <3759e04c0710040809x2e99a265ueb18be4d81133a7a@mail.gmail.com>
Date: Thu, 4 Oct 2007 11:09:28 -0400
From: "Lynn Winebarger" <owinebar AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Bad EXE format (error 193)
In-Reply-To: <3759e04c0710040804r77c0917cs365e9066f86d29ee@mail.gmail.com>
MIME-Version: 1.0
References: <3759e04c0710040726t61d47d00kb5b5103ed639152f AT mail DOT gmail DOT com> <014f01c80695$9db24960$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <3759e04c0710040804r77c0917cs365e9066f86d29ee AT mail DOT gmail DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 10/4/07, Lynn Winebarger <owinebar AT gmail DOT com> wrote:
> On 10/4/07, Dave Korn <dave DOT korn AT artimi DOT com> wrote:
> > On 04 October 2007 15:26, Lynn Winebarger wrote:
> > > Thanks, Dave.  I did compile a hello-world.c program, and it ran, but
> > > I had also compiled PLT scheme v360 before (needed to bootstrap
> > > Larceny) and had run it without problem as well (I had thought this
> > > might be a permission issue, because what bash actually reports is
> > > "Access denied" - the underlying error took further investigation)
> >
> >   Actually, I was trying to ask if you'd compiled a basic "helloworld" with
> > your new larceny compiler, or indeed if this example of yours is already a
> > very simple test program; i.e. is it only complex larceny executables that
> > don't work, or even the very simplest ones.
> >
>    I did not understand.  No, the larceny binary (runtime
> system/interpreter) won't load at all - it doesn't even make it to the
> entry point.  I'm more than willing to send the "executable".  It
> might be something an expert could quickly spot.  Or the linker map
> output, if that would be useful.

   Or, if someone knows of a program, or a pointer to what black magic
Windows does to determine that a PE file is "valid".  I have briefly
reviewed the PE documentation MS provides, but nothing has leaped out
at me (e.g. the flags on the sections appear consistent with their
specification).

Lynn

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019