Path: utzoo!attcan!uunet!husc6!rutgers!sunybcs!tahoe!roccom From: roccom@tahoe.unr.edu (RoCCo mArtIn) Newsgroups: comp.unix.xenix Subject: Re: Xenix/286 problem Message-ID: <2279@tahoe.unr.edu> Date: 31 May 89 14:57:16 GMT References: <1193@rel.eds.com> Reply-To: roccom@tahoe.unr.edu (RoCCo mArtIn) Organization: University of Nevada - Reno Lines: 32 In article <1193@rel.eds.com> bob@rel.eds.com (Bob Leffler) writes: >It appears that Mush 6.5 patchlevel 3 justs outgrew the Xenix 286 >compiler. > > cc -M2le -Mt32 -O -DSYSV -DCURSES -DREGCMP -DUSG -c main.c >main.c >mush.h (203): fatal error 2: out of heap space >*** Error code 1 >Stop > I've had similar problems, however the package I'm porting over must have curses. Curses needs a larger stack space (the -F # option), and you can force more allocation of heap space with the -LARGE option. So, I suggest you change the makefile so the compile line will read: cc -LARGE -F 2000 -M2le -Mt32 -O -DSYSV -DCURSES -DREGCMP -DUSG -c main.c ===========^== | -- This value was suggested to me by SCO tech support... Hope this helps! >bob -rocco -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Usenet: uunet!unrvax!tahoe!roccom Internet: roccom@tahoe.unr.edu Withoutanet: mousketeers@disney.land.fun (ok, so its not very punny ...)