Mail Archives: djgpp/1994/07/11/20:15:33
Amazingly enough DJ Delorie said:
> Adding a swapper to go32 shouldn't be that tricky, if it's designed
> for Turbo-C's small model and isn't GPL or copyrighted such that it
> can't live under go32's copyright.
Where... there *is* Thorsten Ohl's (sp?) who did swaplib when he
was doing the gnuish project, and which is used in an earlier dos
port of make (3.57?) that can be found at simtel in
.../msdos/gnuish
However, I thought it was decided a while back that this would
not work because the area where the !proxy information is kept
(for passing parms from stub to go32) and the method that go32
uses to pass parms to other go32 programs (is this !proxy as
well?) would get swapped out as well, and therefore overwritten
when the new program is loaded.
The only way I could think of fixing this problem would be to
lose the !proxy method of passing parms, and use the LONGARGS
method that Thorsten developed for the gnuish project. Go32
currently supports the LONGARGS method for *receiving* parms, so
it should be doable to comment out the !proxy code in stub and
go32, and just drop in Thorsten's swaplib code.
However, I think time and energy would be better spent working on
aspects of 2.0, and this seems to be a non problem there.
Actually, I'm not sure how much of a non problem it really is.
If I read DJ's comments correctly, if one tries to run multiple
DPMI processes under QDPMI, it still requires about 105k of DOS
memory per program... so after a few recursive makes, and gcc
calling cc1 and so on.. you're still running tight on memory.
(Although it appears that windows is more effecient, and you only
use up 9k of DOS memory per process). Or did I misread
something? Hopefully, if a free DPMI server is created, it does
a much better job than QDPMI!!
mrc
--
Mike Castle .-=NEXUS=-. Life is like a clock: You can work constantly
mcastle AT cs DOT umr DOT edu and be right all the time, or not work at all
mcastle AT umr DOT edu and be right at least twice a day. -- mrc
We are all of us living in the shadow of Manhattan. -- Watchmen
- Raw text -