www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/10/07:56:56

Date: Sun, 10 Nov 1996 14:49:39 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Dennis Bjorklund <md3den AT mdstud DOT chalmers DOT se>
Cc: djgpp AT delorie DOT com
Subject: Re: -fomit-frame-pointer
In-Reply-To: <55se20$mhk@nyheter.chalmers.se>
Message-Id: <Pine.SUN.3.91.961110144531.8417G-100000@is>
Mime-Version: 1.0

On 7 Nov 1996, Dennis Bjorklund wrote:

> When I use -fomit-frame-pointer my programs crash under Win95.
> 
> When I try it on a small program it seems to work. But on some bigger
> programs (both mine and other programs on the net) it just crashes.
> 
> Is win95 depending on a frame-pointer? And then why and how.. I can't
> understand whats going on..

Can you test these same programs on plain DOS or on Windows 3.x?  Maybe 
these are just bugs in these programs?

> I use djgpp 2.01. But I had the same problem with version 1.xx.
> In version 1.xx of djgpp it crashed under win95 and work when run
> from dos. 

DJGPP v1.x used another setup of the segment selectors which would indeed
crash in DPMI mode (like on Windows) if -fomit-frame-pointer was used
(it's in the v1.x FAQ).  v2 doesn't work that way, so it should not have
any such problems. 

Are you sure you don't mix v1.x and v2?  Did you check the executables in 
your bin subdirectory and made sure they are all from v2.01?

- Raw text -


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