www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/11/10/14:24:25

Date: Tue, 10 Nov 92 13:42:42 EST
From: "Mark W. Eichin" <eichin AT cygnus DOT com>
To: pgeiss AT dali DOT uphys DOT uni-heidelberg DOT de
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: re: compiling go32

Now it's my turn to answer :-)

>> PS : It is possible to compile go32 with Microsoft C ?
	Not really. If you want to build go32 you've got to have the
Turbo Assembler and some version of Turbo C (the Turbo C++ 3.0 package
will do, once you patch the one use of &... to ... and fix up the go32
makefile.) 
	I've got turbo assembler 2.02 from the "developer tools"
package, which works fine and was inexpensive (the tools include the
Debugger, Assembler, and Profiler, none of which are included in the
C++ package.) I didn't have a problem building any of the asm files
(whereas even the latest microsoft assembler doesn't support
constructs like "array of struc" that this code uses.)
	(I've now got a version debug32 that talks gdb remote-serial
protocol out com1, so I can examine memory and registers, and single
step and set breakpoints from gdb on a Sun... it still requires some
tweaking to set up, and I have to find a way to "protect" segmentation
faults generated by the memory probe routines (page_valid seems to
nearly always return true, for example if I pass it 0x1+ARENA, even
though accessing that address causes a fault...))
				_Mark_ <eichin AT athena DOT mit DOT edu>
				MIT Student Information Processing Board
				Cygnus Support <eichin AT cygnus DOT com>


- Raw text -


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