Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!psuvax1!psuvm!cmh117 From: CMH117@psuvm.psu.edu (Charles Hannum) Newsgroups: comp.lang.c Subject: Re: A C compiler that *works* ? Message-ID: <90098.162420CMH117@psuvm.psu.edu> Date: 8 Apr 90 20:24:20 GMT References: <3119@castle.ed.ac.uk> Organization: Penn State University Lines: 23 In article <3119@castle.ed.ac.uk>, djm@castle.ed.ac.uk (D Murphy) says: > >After having a long fight with TC 2.0 about allocating a block of memory >128K long, and just about chucking the damned thing out of the window, >I am wondering if there is a PC C compiler anywhere that actually does work >and will let me do this ? > >The code has to work on an 8086, so no '386 specific stuff will be suitable, >unfortunately. If I can't get it to work I'll use assembler but I'd really >rather not do this. If it must run on an 8086, just use the Huge memory model. The other five memory models will not support >64K blocks of data because the 8086 itself will not. The Huge memory model generates extra code to get around this, but only at the price of speed. Virtually, - Charles Martin Hannum II "Klein bottle for sale ... inquire within." (That's Charles to you!) "To life immortal!" cmh117@psuvm.{bitnet,psu.edu} "No noozzzz izzz netzzzsnoozzzzz..." c9h@psuecl.{bitnet,psu.edu} "Mem'ry, all alone in the moonlight ..."