This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bad EXE format (error 193)


On 10/4/07, Lynn Winebarger <owinebar@gmail.com> wrote:
> On 10/4/07, Dave Korn <dave.korn@artimi.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]