Article View: comp.sys.ibm.pc.programmer
Article #688Re: MS LINK & MSC5.1 problems
From: Robert McGwier
Date: Mon, 11 Jun 1990 15:56
Date: Mon, 11 Jun 1990 15:56
25 lines
1227 bytes
1227 bytes
From article <SITZE.90May29101947@teewi.nmsu.edu>, by sitze@nmsu.edu (Richard Sitze):
>
> I'm getting
>
> LINK : error L2041: stack plus data exceed 64K
>
Richard:
Do you REALLY need these big variables to be local variables. I would
malloc these large arrays (fmalloc if you are using a small model) thse
variables off the far heap and then your stack overflow problems should
goi away. You just can't get more than 64K out of a single segment,
which is what you get when you set SS. USE MALLOC, THIS IS WHAT IT IS
FOR!
Hope this helps.
Bob
--
____________________________________________________________________________
My opinions are my own no matter | Robert W. McGwier, N4HY
who I work for! ;-) | CCR, AMSAT, etc.
----------------------------------------------------------------------------
Technical Details
Message-ID:
<726@idacrd.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!rutgers!njin!princeton!idacrd!macReferences:
<SITZE.90May29101947@teewi.nmsu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!rutgers!njin!princeton!idacrd!mac From: mac@idacrd.UUCP (Robert McGwier) Newsgroups: comp.sys.ibm.pc.programmer Subject: Re: MS LINK & MSC5.1 problems Message-ID: <726@idacrd.UUCP> Date: 11 Jun 90 15:56:58 GMT References: <SITZE.90May29101947@teewi.nmsu.edu> Distribution: comp Organization: idacrd, princeton, nj Lines: 25