Mail Archives: djgpp/1994/08/16/18:39:30
Thanks everyone respond my question of using make with jed386. Here is a
brief summary:
1: solving no enough memory problem by using
device=c:\dos\emm386.exe frame=none
in config.sys, then load every driver high. It gives me near 590K
conventional memory, so I can have 4 go32's resident in memory.
My dos is 5.0, besides the himem.sys and emm386.exe, I never tried other
memory manager.
2: redirecting stderr to stdout, I can either
set go32=2r1
or use this tiny program
errout.c
main(int argc, char **argv)
{
dup2(1,2);
execvp(argv[1], argv+1);
}
The first way redirect stderr to stdout for every go32 program, so sometime
is is not suitable.
The second way dosen't deal with internal command like "dir", but I
don't want make it compilcate, btw the errout.c must be compiled by a
DOS compiler, if you compile it by gcc, it eats up another 130K
conventional memory.
I havn't try 4dos, my dos partition is small (mainly linux), it is pity
I can't run go32 in linux's dosemu. I missed emacs + make + gcc + gdb.
Thanks all again.
- Raw text -