delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/01/00:07:55

Message-Id: <33E16046.3A68@mail.coos.or.us>
Date: Thu, 31 Jul 1997 21:04:22 -0700
From: Jason Dagit <thedagit AT mail DOT coos DOT or DOT us>
Reply-To: thedagit AT mail DOT coos DOT or DOT us
Mime-Version: 1.0
To: Peter White <po DOT white2 AT ukonline DOT co DOT uk>
Cc: djgpp AT delorie DOT com
Subject: Re: DJGPP hates me!
References: <01bc0e28$5aea0c60$7b7106c2 AT po DOT white2>

Peter White wrote:
>
> The second problem is with my script language module, which at the moment
> compiles fine, but refuses to run. I've tried to use a debugger with it,
> but the program exits with a page fault _before_ it gets to main! This
> program was working until I made it slightly more complicated.

Did you use -O3 to compile it?  I used it once to compile a small
program I was making and the program wouldn't run, but if I compiled it
with -O2 or less then it worked.  I ran stubify on the program and
suddenly it worked just fine.  So that is what I suggest, I don't know
what side effects could come from doing that but it might work :)

Good luck.
Jason

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019