Xref: news2.mv.net comp.os.msdos.djgpp:5148 From: Mike Little Newsgroups: comp.os.msdos.djgpp Subject: Re: best UNIX-->DOS porting compiler? Date: Wed, 19 Jun 1996 00:21:24 GMT Organization: Ampersoft & Lines: 28 Distribution: world Message-ID: <425030297wnr@amprsoft.demon.co.uk> References: <4q3ce3$o77 AT agate DOT berkeley DOT edu> <4q3uvh$ntu AT titan DOT saturn DOT net> Reply-To: MikeL AT amprsoft DOT demon DOT co DOT uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article: Eli Zaretskii writes: > > > On 17 Jun 1996, Brian Mitchell wrote: > > > >2) Can I run DJGPP programs under a Win3.1 shell? How bout a Win95 > > > or a WinNT shell? > > > > It might in Real mode 3.1 (is that still supported?) but if win 3.1 goes > > into pmode, I'm almost 100% sure that djgpp compiled programs will not work. > > That's not true. DJGPP *does* run under Win 3.x in 386-enhanced mode. I > do it every day. DJGPP produces programs that are DPMI clients, and > Windows has a built-in DPMI server that satisfies the client calls. > GDB (the GNU debugger) on the other hand seems to suffer from random segmentation violation faults when running under a DOS box in Windows 3.11. I found this the hard way, and wasted some time trying to track the problem in my code! :-( Mike, sig ====================================================================== Mike Little PGPID:1024/8936BCF9 Fngrprnt:66 01 0E 95 31 20 CA 1B-E5 21 DB 31 ED E1 EC 6B PGPID: 512/FA2EE3BB Fngrprnt:C0 40 ED FF D0 E8 57 D7-B0 66 DB B8 31 14 32 12 finger MikeL AT amprsoft DOT demon DOT co DOT uk for PGP public keys (part-time connection)