From: Jean-Philippe.Chancelier@cergrene.enpc.fr (Jean-Philippe Chancelier)
Subject: Re: "Not a valid windows NT executable"
30 Oct 1997 04:39:18 -0800
Message-ID: <199710301230.NAA28977.cygnus.gnu-win32@lee.cergrene>
References: <01BCE578.FFA179A0.MCzapski@stc.com>
To: MCzapski@stc.com
Cc: gnu-win32@cygnus.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".
