Date: Sun, 10 Nov 1996 14:49:39 +0200 (IST) From: Eli Zaretskii To: Dennis Bjorklund Cc: djgpp AT delorie DOT com Subject: Re: -fomit-frame-pointer In-Reply-To: <55se20$mhk@nyheter.chalmers.se> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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?