This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: "Not a valid windows NT executable"
- To: MCzapski at stc dot com
- Subject: Re: "Not a valid windows NT executable"
- From: Jean-Philippe Chancelier <Jean-Philippe dot Chancelier at cergrene dot enpc dot fr>
- Date: Thu, 30 Oct 1997 13:30:51 +0100
- CC: gnu-win32 at cygnus dot com
- References: <01BCE578.FFA179A0.MCzapski@stc.com>
>>>>> "Michael" == Michael Czapski <MCzapski@stc.com> writes:
Michael> Hello All,
When
Michael> trying to run the same executable from Winnt CMD i get
Michael> 'invalid windows NT executable' error, with obvious
Michael> results. I do remember that this kind of thing was
Michael> discussed a little while ago. Can some kind soul point
Michael> me to the topic, pretty please. As I said, I scanned the
Michael> archive but without luck.
I have the answer for the second part
Wolfgang Ocker <weo@recco.de> posted the following mail
About two weeks ago I reported problems when running gnuwin32 compiled
programs under NT (NT refused to start them). I've found a partial solution:
the linker option -S causes the linker to omit the .stab and .stabstr (debug
info) sections from the binary ... and voila, the programs run! NT seems not
to like these sections.
Jean-Philippe C.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".