From: Jean-Philippe DOT Chancelier AT cergrene DOT enpc DOT 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 DOT FFA179A0 DOT MCzapski AT stc DOT com> To: MCzapski AT stc DOT com Cc: gnu-win32 AT cygnus DOT com >>>>> "Michael" == Michael Czapski 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 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 AT cygnus DOT com" with one line of text: "help".