www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/06/17/17:09:35

Date: Thu, 17 Jun 93 16:49:15 EDT
From: DJ Delorie <dj AT ctron DOT com>
To: grw AT tamu DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: gccdpmi1.zip on omnigate

>   RSXDJ is vastly superior to go32 in others (namely it does
> not heave 4 megabytes of swap space down the toilet for each instance of
> itself).

Go32 does not *heave* the <4Mb of memory.  That's where your *stack*
goes.  Granted, most programs won't use all <4M of space (for cc1plus,
it's really only about 2.5M of space, since there's 1.5M of code), but
it's really a Bad Thing when you *do* use all <4M of stack, and you
can't dynamically resize it.

If you link with COFF format, either with the uploaded COFF linker or
(hopefully) 1.11's linker, you can use go32 directly and not allocate
all 4M for the stack.  Note that the smaller your stack, the larger
the chance of blowing it.

Wouldn't it be better for people to spend their energy working to make
go32 better for all than to spend it trying to replace it with
something else?

DJ

- Raw text -


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