Mail Archives: djgpp/1992/10/14/15:42:04
Well, I've gotten all of the .c files (at least under go32/) to
compiler with Turbo C 3.0 (made one change: the printf implementation
in mono.c uses &... to pass the ... argument to vsprintf; tcc
complained that it wasn't an lvalue, but changing it to pass ...
directly at least compiled. I'll see later if it worked.)
I've also gotten most of the .asm files to build with MASM
5.1, but not all - MSWITCH.ASM uses the construct "extrn _gdt:gdt_s"
which masm won't deal with (gdt_s is a "struct" and masm only seems to
deal with builtin types there, such as "word", "byte", and "near".) I
think I can get around this by using "extrn _gdt:byte" instead, and
then replacing things like "and _gdt[g_ptss].stype,0FDh" with
something like
gdt_s_size equ size gdt_s;
and _gdt[g_ptss*gdt_s_size].stype,0FDh
Does this sound like it makes sense? (I've at least gotten the whole
thing to build; go32t hangs almost immediately, and debug32 gets as
far as putting up some colored text before rebooting the machine. I'll
keep looking at those changes to mswitch...)
_Mark_ <eichin AT athena DOT mit DOT edu>
MIT Student Information Processing Board
Cygnus Support <eichin AT cygnus DOT com>
- Raw text -