Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!sun-barr!olivea!uunet!munnari.oz.au!metro!dmssyd.syd.dms.CSIRO.AU!ditsydh.syd.dit.CSIRO.AU!evans From: evans@syd.dit.CSIRO.AU (Bruce.Evans) Newsgroups: comp.os.minix Subject: Re: bcc bug/feature Message-ID: <1991Jun27.101915.26787@syd.dit.CSIRO.AU> Date: 27 Jun 91 10:19:15 GMT References: <33827@usc.edu> Organization: CSIRO Division of Info Tech, Sydney, Australia Lines: 17 In article <33827@usc.edu> kjh@pollux.usc.edu (Kenneth J. Hendrickson) writes: >While trying to compile a particularly large program (nethack 3.0i), bcc >chokes on one of the files in the preprocessing stage. The error >message is 'compiler out of memory'. > >I chmem'ed bcc, gld, and sc to larger values, but this didn't help. I It's a silly limit in sc (also in as and ld, but not so limiting). The limit is 0x0001FE00. To fix it, find this number in the sc binary (there's only one) and edit it. Also, chmem sc larger to match. >Since I don't have source, I can't make this compiler usable. Perhaps The patch is quite easy to find by running sc under mdb because sc contains a symbol table. -- Bruce Evans evans@syd.dit.csiro.au