RE: Exception: STATUS_PRIVILEGED_INSTRUCTION occurs before main is executed.

2003-03-06 Thread Igor Pechtchanski
On Thu, 6 Mar 2003, Bruce Adams [TEPG Sunbury] wrote: > >-Original Message- > >From: Max Bowsher [mailto:[EMAIL PROTECTED] > >Sent: 06 March 2003 14:43 > >To: [EMAIL PROTECTED] > >Subject: Re: Exception: STATUS_PRIVILEGED_INSTRUCTION occurs > >before

RE: Exception: STATUS_PRIVILEGED_INSTRUCTION occurs before main is executed.

2003-03-06 Thread Bruce Adams [TEPG Sunbury]
>-Original Message- >From: Max Bowsher [mailto:[EMAIL PROTECTED] >Sent: 06 March 2003 14:43 >To: [EMAIL PROTECTED] >Subject: Re: Exception: STATUS_PRIVILEGED_INSTRUCTION occurs >before main is executed. > > >> On Thu, 6 Mar 2003, Bruce Adams [TEPG Sunbur

Re: Exception: STATUS_PRIVILEGED_INSTRUCTION occurs before main is executed.

2003-03-06 Thread Igor Pechtchanski
On Thu, 6 Mar 2003, Max Bowsher wrote: > > On Thu, 6 Mar 2003, Bruce Adams [TEPG Sunbury] wrote: > >> I think it would be a great idea if the post setup phase did some > >> basic configure style checking (assuming it doesn't already). > >> i.e. > >>Checking if the compiler gcc works No > >

Re: Exception: STATUS_PRIVILEGED_INSTRUCTION occurs before main is executed.

2003-03-06 Thread Max Bowsher
> On Thu, 6 Mar 2003, Bruce Adams [TEPG Sunbury] wrote: >> I think it would be a great idea if the post setup phase did some >> basic configure style checking (assuming it doesn't already). >> i.e. >>Checking if the compiler gcc works No >> >> It would have saved me a couple of months of he

RE: Exception: STATUS_PRIVILEGED_INSTRUCTION occurs before main is executed.

2003-03-06 Thread Igor Pechtchanski
On Thu, 6 Mar 2003, Bruce Adams [TEPG Sunbury] wrote: > > > >-Original Message- > >From: Steven O'Brien [mailto:[EMAIL PROTECTED] > >Sent: 05 March 2003 11:36 > >To: [EMAIL PROTECTED] > >Subject: Re: Exception: STATUS_PRIVILEGED_INSTRUCTION occurs

Re: Exception: STATUS_PRIVILEGED_INSTRUCTION occurs before main is executed.

2003-03-06 Thread Max Bowsher
Bruce Adams [TEPG Sunbury] wrote: >> -Original Message- >> From: Max Bowsher [mailto:[EMAIL PROTECTED] >> Sent: 06 March 2003 11:39 >> To: Bruce Adams [TEPG Sunbury] >> Cc: [EMAIL PROTECTED] >> Subject: Re: Exception: STATUS_PRIVILEGED_INSTRUCTI

RE: Exception: STATUS_PRIVILEGED_INSTRUCTION occurs before main is executed.

2003-03-06 Thread Bruce Adams [TEPG Sunbury]
>-Original Message- >From: Max Bowsher [mailto:[EMAIL PROTECTED] >Sent: 06 March 2003 11:39 >To: Bruce Adams [TEPG Sunbury] >Cc: [EMAIL PROTECTED] >Subject: Re: Exception: STATUS_PRIVILEGED_INSTRUCTION occurs >before main is executed. > > >Br

Re: Exception: STATUS_PRIVILEGED_INSTRUCTION occurs before main is executed.

2003-03-06 Thread Max Bowsher
Bruce Adams [TEPG Sunbury] wrote: >> -Original Message- >> From: Brian Ford [mailto:[EMAIL PROTECTED] >> 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

RE: Exception: STATUS_PRIVILEGED_INSTRUCTION occurs before main is executed.

2003-03-06 Thread Bruce Adams [TEPG Sunbury]
>-Original Message- >From: Steven O'Brien [mailto:[EMAIL PROTECTED] >Sent: 05 March 2003 11:36 >To: [EMAIL PROTECTED] >Subject: Re: Exception: STATUS_PRIVILEGED_INSTRUCTION occurs >before main is executed. > > >Bruce Adams wrote: >> I have lately

RE: Exception: STATUS_PRIVILEGED_INSTRUCTION occurs before main is executed.

2003-03-06 Thread Bruce Adams [TEPG Sunbury]
>-Original Message- >From: Brian Ford [mailto:[EMAIL PROTECTED] >Sent: 05 March 2003 21:22 >To: Bruce Adams [TEPG Sunbury] >Cc: [EMAIL PROTECTED] >Subject: Re: Exception: STATUS_PRIVILEGED_INSTRUCTION occurs >before main is executed. > > >A comment and a q

Re: Exception: STATUS_PRIVILEGED_INSTRUCTION occurs before main is executed.

2003-03-05 Thread Steven O'Brien
Bruce Adams wrote: > I have lately been having real problems with vanilla gcc 3.2 > generating executables that crash. > 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 fo

Exception: STATUS_PRIVILEGED_INSTRUCTION occurs before main is executed.

2003-03-03 Thread Bruce Adams [TEPG Sunbury]
Hi, I have lately been having real problems with vanilla gcc 3.2 generating executables that crash. Its manifestation does not seem to follow an obvious pattern and changing the options to gcc (e.g. -ggdb versus -gstabs or no -g at all) does not make any difference. Does anybody have any idea