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: "Max Bowsher" <maxb at ukf dot net>
- To: "Bruce Adams [TEPG Sunbury]" <bruadams at tycoint dot com>
- Cc: <cygwin at cygwin dot com>
- Date: Thu, 6 Mar 2003 11:39:08 -0000
- Subject: Re: Exception: STATUS_PRIVILEGED_INSTRUCTION occurs before main is executed.
- References: <C9150052B112D3119E9E0004ACA6E4370345CA92@tepg1.tepg.co.uk>
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/