This is the mail archive of the
mailing list for the Cygwin project.
Re: Exception: STATUS_PRIVILEGED_INSTRUCTION occurs before main is executed.
- From: Steven O'Brien <steven dot obrien2 at ntlworld dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 5 Mar 2003 11:36:08 +0000
- Subject: Re: Exception: STATUS_PRIVILEGED_INSTRUCTION occurs before main is executed.
Bruce Adams wrote:
> I have lately been having real problems with vanilla gcc 3.2
> generating executables that crash.
> The simplest way to reproduce the problem is to have a main function
> in a file with a .h of the same name as below.
Bruce I have tried your example code and it works fine for me:
Windows 2000 SP2,
gcc-3.2 20020927 (prerelease),
Maybe the problem is in your cygwin installation?
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html