home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.ibm.pc.misc
- Path: 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
-
- 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
-