Xenix/286 problem

RoCCo mArtIn roccom at tahoe.unr.edu
Thu Jun 1 00:57:16 AEST 1989


In article <1193 at rel.eds.com> bob at 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 at tahoe.unr.edu
Withoutanet: mousketeers at disney.land.fun (ok, so its not very punny ...)



More information about the Comp.unix.xenix mailing list