Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!munnari.oz.au!metro!news From: glenn@suphys.physics.su.OZ.AU (Glenn Geers) Newsgroups: comp.unix.xenix.sco Subject: Re: Increasing Stack Message-ID: <1990Oct10.233911.26422@metro.ucc.su.OZ.AU> Date: 10 Oct 90 23:39:11 GMT References: <52@ncuug.UUCP> Sender: news@metro.ucc.su.OZ.AU (news) Organization: Uni Computing Service, Uni of Sydney, Australia Lines: 44 From article <52@ncuug.UUCP>, by rayr@ncuug.UUCP (Ray Randolph): > Hiya all, > I've compiled the Citadel BBS on my SCO XENIX 286 2.3.2, and when running the > program I get a 'stack overflow' error. The command line I used to compile > it is: > cc -DXENIX -LARGE > > Is there something I could add to the command line to increase the stack? > It's odd that this seems to happen only some of the time, every once in > awhile it DOES work correctly, but more often than not I get the error. > > I would email my first-born child to whomever can help me with this. :) > > -Ray > > -- > rayr!ncuug@csu.colostate.edu (or something like that). > Data: (303)225-1413 HST (or something like that) > "Here the mirror of dreams of beauty... > Here the looking glass of pride and ruined vanity." -- Clockdva Hi Ray, Use the xenix command fixhdr: fixhdr -F#### executable where #### is the required stack size in hex (must be less than 64kb i.e. FFFE). As for your first-born... If she happens to be about 22 I'd be tempted. Cheers, Glenn glenn@qed.physics.su.oz.au Glenn Geers | "So when it's over, we're back to people. Department of Theoretical Physics | Just to prove that human touch can have The University of Sydney | no equal." Sydney NSW 2006 Australia | - Basia Trzetrzelewska, 'Prime Time TV' -- Glenn Geers | "So when it's over, we're back to people. Department of Theoretical Physics | Just to prove that human touch can have The University of Sydney | no equal." Sydney NSW 2006 Australia | - Basia Trzetrzelewska, 'Prime Time TV'