delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/03/18:55:37

Date: Thu, 3 Jul 1997 17:54:02 -0500 (CDT)
From: Adam W Lee <adalee AT sendit DOT sendit DOT nodak DOT edu>
Message-Id: <199707032254.RAA32393@sendit.sendit.NoDak.edu>
To: djgpp AT delorie DOT com
Subject: RE: PMODE/DJ Problem

> Hi DJGPP users !
>
>I downloaded alternative 32bit DOS-extender(resp. stub) for DJGPP v2
>PMODEDJ v1.1. I was happy when used it, but I was disappointed, when I
>tried to set optimization level (-O1 or better). After executing this
>stubbed .coff image (with PMODEDJ) program fails with SIGSEGV eror
>message. Could me anybody tell where is the problem or where can I get
>patched version of PMODEDJ ??
>
>      Thanks
>
>            TREMOR

Umm, how exactly are you doing this?  I do something like the following
(last time I said that I got about 5 flames about void main(...) :)

gcc -s -O3 filename.c -llibrary
copy /b pmode.exe + a.out filename.exe
djp filename.exe
del a.*

And I end up with a nice compressed program with a stub...  It's never
page faulted or sigseged on me...

PS - Are you the Tremor from Dubius???

atomly

- Raw text -


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