This is the mail archive of the
cygwin@cygwin.com
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.
<snip>
> 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,
cygwin-1.3.20-1,
gcc-3.2 20020927 (prerelease),
binutils-2.13.90 20021118.
Maybe the problem is in your cygwin installation?
Steven
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/