Date: Mon, 13 Mar 1995 08:13:30 -0500 From: dj (DJ Delorie) To: A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk Cc: DJGPP AT SUN DOT SOE DOT CLARKSON DOT EDU Subject: Re: Running djgpp programs under Windows? > It seems to me that Gnu C's paged store access system works thus (please > correct me if I am wrong):- > All store references are caught by a set of `Gnu C Store Access Interrupt > Routines' (hereinafter GCSAIR's) (currently in GO32), which translate the This is done by the 80386 hardware itself. It is not software. > store reference into the actual address. If so, what would need to be done to > make a Gnu C compiled (*.EXE) program run in real mode without paging?: Convince Intel to make a 80386 with a 32-bit real mode. The Linux project has a gcc that can produce 16-bit code for PCs, but that doesn't mean it can link your Microsoft libraries. They use it primarily for boot code. > This also seems to relate to running under Windows, as I was once told that > "Windows can't call djgpp programs directly, as djgpp and Windows use the same > paging system" or something like that: please correct me if I am wrong. If No, djgpp uses Window's memory management system. The real problems are (1) "far" calls, and (2) linking in Windows DLLs and libraries.