🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #265

Re: Microsoft C question

#265
From: Murphy
Date: Thu, 23 Jul 1992 01:10
29 lines
1298 bytes
bsweeney@argon.prime.computer writes:

>I am currently trying to compile and link a program
>with Microsoft C and get the following error:

>  "stack plus data exceeds 64k"

>I no longer have the service contract so I cannot contact
>microsoft for the answer.

>Can anyone out there let me know what is going on here?

Which compiler options do you use ? CL defaults to /AS, the small memory
model. In small memory model, code and data (=data,  heap, stack) get 
different segments, which can't exceed 64k.
Try using large or huge memory models (option /AL or /AH).
BTW, online help should also clarify this error message.

>    Thanks in advance!

>	Brian

>p.s. 
>     My system is :                Miscrosoft C ver 6.0
>       IBM 386 25mhz, 
>       4mb ram, 
>       plenty of space (80mb

      Murphy
Technical Details
Message-ID: <ZUC5USL@lime.in-berlin.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!elroy.jpl.nasa.gov!usc!wupost!gumby!yale!yale.edu!ira.uka.de!math.fu-berlin.de!fub!lime.in-berlin.de!murphy
References: <3573@cvbnetPrime.COM>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.ibm.pc.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!elroy.jpl.nasa.gov!usc!wupost!gumby!yale!yale.edu!ira.uka.de!math.fu-berlin.de!fub!lime.in-berlin.de!murphy
From: murphy@lime.in-berlin.de (Murphy)
Subject: Re: Microsoft C question
Message-ID: <ZUC5USL@lime.in-berlin.de>
Organization: LIME Systems featuring a TOGA Party
References: <3573@cvbnetPrime.COM>
Distribution: usa
Date: Thu, 23 Jul 92 01:10:36 GMT
Lines: 29