Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!sco!rogerk From: rogerk@sco.COM (Roger Knopf 5502) Newsgroups: comp.unix.xenix.sco Subject: Re: Increasing Stack Keywords: Citadel, SCO 2.3.2 Message-ID: <10931@scorn.sco.COM> Date: 12 Oct 90 03:49:22 GMT References: <52@ncuug.UUCP> Sender: news@sco.COM Reply-To: rogerk (Roger Knopf 5502) Organization: The Santa Cruz Operation, Inc. Lines: 30 In article <52@ncuug.UUCP> rayr@ncuug.UUCP (Ray Randolph) writes: >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. Add "-F " to your cc line. You can also use fixhdr on the binary to play with different stack sizes: fixhdr -F 2000 /usr/local/binary The default stack size is 1000 (thats hex, remember). >I would email my first-born child to whomever can help me with this. :) Oboyoboyoboy! Am I first? Can't wait to see how you do this! Um, it isn't a teenager, I hope.... -- Roger Knopf "Alas, poor Schoenberg; whose SCO Consulting Services aesthetic is perhaps too fine to be uunet!sco!rogerk or rogerk@sco.com caught in the gross colander of mass 408-425-7222 (voice) 408-458-4227 (fax) appreciation." --Karl P. Henning