This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]