Path: utzoo!attcan!uunet!cs.utexas.edu!csd4.milw.wisc.edu!dogie.macc.wisc.edu!indri!uflorida!gatech!hubcap!ncrcae!ncr-sd!crash!pnet01!jca From: jca@pnet01.cts.com (John C. Archambeau) Newsgroups: comp.os.minix Subject: Minix (1.3) C... Message-ID: <4415@crash.cts.com> Date: 20 Jun 89 00:36:11 GMT Sender: news@crash.cts.com Organization: People-Net [pnet01], El Cajon CA Lines: 35 Has anybody else experienced problems with the opt pass of Minix C running out of memory after cpp and cem do their job? I have done a chmem =64000 to all Minix C compiler passes (and asld). I also bumped up make and still the same problem. I have already beat the program (Bison (GNU Yacc)) into working in a 64K code/64K data & stack address space with Turbo C 1.5 and the small memory model, so I know that Bison will work in a seperate I&D memory model. I'm not too fond of compiling from the DOS side of my machine for a program or two that Minix C can't handle, but will run under Minix just fine. I have the copt-src.tar.Z from bugs.nosc.mil if that will help, but it demands unpacked assembly code to do the job, and Minix C produces packed assembly code. Is there a better peephole optimizer out there or will copt-src.tar.Z work with some minor hammering? I hate to say it, but it might be high time to get on the drawing board for a large model C compiler inspite of the problems and time it will take to implement. /*--------------------------------------------------------------------------* * Flames: /dev/null (on my Minix partition) *--------------------------------------------------------------------------* * APRA : crash!pnet01!jca@nosc.mil * INET : jca@pnet01.cts.com * UUCP : {nosc ucsd hplabs!hd-sdd}!crash!pnet01!jca *--------------------------------------------------------------------------*/ #include void main (void) { #if defined (MSDOS) || defined (OS2) || defined (VMS) printf ("You call that an operating system???\n"); #else printf ("Unix might not be perfect...\n"); printf (" ...but it's the best I've seen thus far...\n"); #endif }