Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!indri!lll-winken!uunet!ispi!jbayer From: jbayer@ispi.UUCP (Jonathan Bayer) Newsgroups: comp.unix.xenix Subject: Re: Question about SCO Xenix and stack size Message-ID: <595@ispi.UUCP> Date: 22 Apr 89 17:26:20 GMT References: <12743@pasteur.Berkeley.EDU> Reply-To: jbayer@ispi.UUCP (Jonathan Bayer) Organization: Intelligent Software Products, Inc. Lines: 24 In article <12743@pasteur.Berkeley.EDU> c184-bw@holden.Berkeley.EDU (Percy "Mr. Fun" Schwartz) writes: } }I recently ported a program from an Altos 2086 running Altos Xenix }3.4b to an 80286 based AT clone running SCO Xenix 2.2.1. }The program compiles and links O.K. but it dumps core at run time, }giving the classic "Stack overflow - Bus error: core dumped" message. } }Can somebody tell me how I can increase the stack size? }What is the default stack size for the SCO (Microsoft?) compiler? }(I know I should RTFM but its in another office that I can't get to - }no flames please):-). When loading you can use the "-F" option to set the size of the stack. Otherwise you can use the "fixhdr" program to do the same thing. JB -- Jonathan Bayer Beware: The light at the end of the Intelligent Software Products, Inc. tunnel may be an oncoming dragon 19 Virginia Ave. ...uunet!ispi!jbayer Rockville Centre, NY 11570 (516) 766-2867 jbayer@ispi.UUCP