Mail Archives: djgpp/1996/05/02/12:40:20
On Wed, 1 May 1996, Thomas P. Witelski wrote:
> First: I have 4M ram, QEMM 7, Windows 3.1
>
> 1) When I try to run a djgpp compiled program under DOS, it just dies
> and gives me a message about a SIGSEGV error (even when I have run
> cwsdpmi), however, when I run the same program in a DOS box under
> windows, it works fine.....?
Do you install QDPMI from QEMM? If you do, you should know that it has
many problems in that version of QEMM (some of them are described in the
DJGPP FAQ list, get faq200b.zip from the same place you get DJGPP).
Either upgrade to QEMM 8, or uninstall QDPMI, or just disable it before
you run DJGPP programs. Again, the FAQ describes how, if you don't know.
> 2) More Seriously: when i compile source with gcc in a DOS box under
> windows 3.1, my DPMI memory as reported by go32-v2 goes down after
> each compilation...after about 4 or so compiles, gcc dies and says
> virtual memory exhausted...
Launch the PIF editor and open the file `dosprmpt.pif'. Set the EMS and
XMS maximum values to -1. Then try again. If that doesn't help, post the
exact output of go32-v2 before you start and after each compilation, until
it dies.
- Raw text -