Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!purdue!decwrl!nsc!pyramid!leadsv!zech From: zech@leadsv.UUCP (Bill Zech) Newsgroups: comp.sys.ibm.pc Subject: Re: 32 bit C Comps and Long Summary: MetaWare High C is 32-bit 386 C compiler Message-ID: <8324@leadsv.UUCP> Date: 24 Oct 89 01:58:51 GMT References: <1224@utkcs2.cs.utk.edu> <1989Oct22.163723.2872@world.std.com> Organization: LMSC-LEADS, Sunnyvale, Ca. Lines: 22 In article <1989Oct22.163723.2872@world.std.com>, madd@world.std.com (jim frost) writes: > In article <1224@utkcs2.cs.utk.edu> wozniak@utkux1.utk.edu (Bryon Lape) writes: > |Someone asked about a C compiler that supported 32bit ints of 386 > |machine. They answer as I see it is yes, they all do. > > I rather expect they meant "using the 386-specific 32-bit > instructions." Very few non-UNIX compilers do this; certainly Turbo C > and MSC do not. I've run across at least one MS-DOS compiler that > would generate 386-specific code, but I've forgotten which. > MetaWare of Santa Cruz, CA makes a C compiler called High C which will compile native 386 code. You will need a DOS extender to run it, though. Alternately, you could write some of your code in ASM and turn on the .386 switch on the assembly. Interestingly enough, the 386 will execute 80386 specific 32-bit opcodes even in real mode. So you can run programs written this way under normal DOS. The High C compiler assumes a protected mode environment with DS=ES=CS=SS, e.g., a flat address space. -Bill