Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!genrad!decvax!decwrl!labrea!aurora!ames!elroy!mahendo!jplgodo!wlbr!scgvaxd!trwrb!cadovax!gryphon!greg From: greg@gryphon.CTS.COM (Greg Laskin) Newsgroups: comp.lang.c,comp.unix.xenix Subject: Re: SCO cc(1)/ld(1) options, heap space Message-ID: <1842@gryphon.CTS.COM> Date: Fri, 9-Oct-87 11:32:30 EDT Article-I.D.: gryphon.1842 Posted: Fri Oct 9 11:32:30 1987 Date-Received: Mon, 12-Oct-87 05:38:59 EDT References: <461@petro.UUCP> <1837@crash.CTS.COM> Reply-To: greg@gryphon.CTS.COM (Greg Laskin) Distribution: na Organization: Trailing Edge Technology, Redondo Beach, CA Lines: 24 Xref: mnetor comp.lang.c:4822 comp.unix.xenix:936 In article <1837@crash.CTS.COM> jkimble@crash.CTS.COM (Jim Kimble) writes: >>I assume there's an option to cc(1) to increase the amount of heap space. Of >I just had a similiar problem with about three million DEFINE statements >from rewriting field-edit. The problem is that you need to specify >-LARGE module. That should give you more heap space. The manual says something >to the effect that the system is running out of dynamic memory. > >If things get real bad, you can specify "huge" module with the flag >-Mh. The -LARGE switch (not present in all implementations of Xenix) invokes a large MODEL pass of the compiler which allows multiple heap segments during compilation. The -LARGE switch has nothing to do with the memory model of the program being compiled. -Mh has nothing to do with the heap. Hugh is a memory model that differs from large model only in the code generated to access arrays >64K. -- Greg Laskin "When everybody's talking and nobody's listening, how can we decide?" INTERNET: greg@gryphon.CTS.COM UUCP: {hplabs!hp-sdd, sdcsvax, ihnp4}!crash!gryphon!greg UUCP: {philabs, scgvaxd}!cadovax!gryphon!greg