This is the mail archive of the
mailing list for the Cygwin project.
RE: Exception: STATUS_PRIVILEGED_INSTRUCTION occurs before main is executed.
- From: "Bruce Adams [TEPG Sunbury]" <bruadams at tycoint dot com>
- To: <cygwin at cygwin dot com>
- Cc: "Max Bowsher" <maxb at ukf dot net>
- Date: Thu, 6 Mar 2003 11:40:17 -0000
- Subject: RE: Exception: STATUS_PRIVILEGED_INSTRUCTION occurs before main is executed.
>From: Max Bowsher [mailto:maxb at ukf dot net]
>Sent: 06 March 2003 11:39
>To: Bruce Adams [TEPG Sunbury]
>Cc: cygwin at cygwin dot com
>Subject: 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.
That makes sense. Presumably I should only use gcc -x c++ if
I wish to use an alternative library implementation such as STLPort
which I have been considering (in order to test portability).
Any opinions expressed in this e-mail are those of the individual and not
necessarily those of Tyco Safety Products.
Any prices for the supply of goods or services are only valid if supported
by a formal written quotation.
This e-mail and any files transmitted with it, including replies and
forwarded copies (which may contain alterations) subsequently transmitted
from Tyco Saftey Products are confidential and solely for the use
of the intended recipient.
If you are not the intended recipient or the person responsible for
delivery to the intended recipient, be advised that you have received this
e-mail in error and that any use is strictly prohibited. In this event,
please notify us via e-mail at 'helpdesk dot tepg at tycoint dot com' or telephone on
0121 255 6499 and then delete the e-mail and any copies of it.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html