From: fjh@cs.mu.OZ.AU (Fergus Henderson)
Subject: Re: Can't run on Windows NT an application compiled with gcc on
24 Nov 1996 22:25:45 -0800
Sender: daemon@cygnus.com
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <199611250424.PAA18474.cygnus.gnu-win32@murlibobo.cs.mu.OZ.AU>
Content-Type: text
Original-To: manus@eiffel.com (Emmanuel STAPF)
Original-Cc: gnu-win32@cygnus.com
In-Reply-To: <1.5.4.32.19961121023734.006ccd70@dublin> from "Emmanuel STAPF" at Nov 20, 96 06:37:34 pm
X-Mailer: ELM [version 2.4 PL24]
Original-Sender: owner-gnu-win32@cygnus.com

Emmanuel STAPF, you wrote:
> 
> I compiled with succes small application on windows 95 with gcc.
> I was very surprised to see my application can't run on Windows
> NT. I've got the following message from Windows NT :
> "This program is not a valid Windows NT Application"

I experienced similar symptoms as a result of compiling
with `gcc -s' (to strip the executable).  Removing the
`-s' option worked in my case.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3         |     -- the last words of T. S. Garp.
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
