Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!akgua!gatech!seismo!rochester!bullwinkle!uw-beaver!tikal!teldata!transys!baron From: baron@transys.UUCP Newsgroups: net.micro.pc Subject: Re: Xenix S5 286 Stack Problem Message-ID: <187@transys.UUCP> Date: Thu, 27-Mar-86 18:16:03 EST Article-I.D.: transys.187 Posted: Thu Mar 27 18:16:03 1986 Date-Received: Tue, 1-Apr-86 04:43:36 EST References: <948@rlgvax.UUCP> <177@transys.UUCP> <316@omen.UUCP> Organization: TransSystems Inc. Bellevue, WA Lines: 52 In article <316@omen.UUCP> the author writes: > In article <177@transys.UUCP> baron@transys.UUCP (Joe Portman) writes: > >In <948@rlgvax.UUCP> Dennis Bednar writes: > > > >> It does not seem possible to tell the Xenix SV compiler/loader for > >> the IBM PC/AT (286 CPU)to build an a.out with a large enough stack > >> segment in some cases. > >I have run across this exact problem, notably with compiling and setting up > >the usenet software. > > > >I solved it by: > > > >1. using the -M2l and -s -i flags of the compiler. This sets the compiler > > to LARGE memory model and enables 286 code generation. It also allows > > multiple data segments. The -s strips the symbol table and the > > -i says SEPARATE instruction and data space. This is implied in > > middle, large and huge models, but MUST be specified in the default > > model (small). > That implies you have a C compiler with a working large model. I have yet > to see a Xenix large model that can compile the average non trivial program > without an extreme amount of hacking to avoid compiler bugs. I eagerly > await such a Xenix compiler, but am not holding my breath. I will probably get flames for this, but here goes: I have been using the C compiler from SCO for since October 1985, (first release date ). I have had NO problems with it IF I follow standard conventions: IE, do not have a cavalier attitude toward pointers and integers. So far, none of the programs ported by me have had any major surgery, except you MUST watch your declarations. That's it. I can gripe about the compiler being slow :-), but I cannot say it does not work. As for a non-trivial program, how about vnews. Over 100k compiled. -- **************************************************** * These are my own opinions, not those of * * my employer (self), or any one * * connected with the company (mine) * **************************************************** Joe Portman (SA) USPS: TransSystems Incorporated AT&T: 1-206-453-5560 1280 116th Avenue NE Bellevue WA 98009 /-- uw-beaver!\ /-- camco! \ ... ihnp4! --< >-tikal!< >-- transys!root \-- microsoft!/ \-- teldata!/