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 [TEPG Sunbury] wrote:
>> -----Original Message-----
>> From: Brian Ford [mailto:ford at vss dot fsi dot com]
>> It is not legal to use gcc for compiling c++ code.  You must use g++.
>>
> This is not true.
> I use gcc -x c++ which should be identical.

I believe that g++ will auto-include standard C++ libraries, but gcc -xc++
will not.

Max.


--
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]