[comp.sys.ibm.pc] "Too much global data" problem... again

rjchen@phoenix.Princeton.EDU (Raymond Juimong Chen) (11/20/88)

I'm running Turbo C v1.5, and have hit the infamous "Too much global data".
I know the problem has been discussed to death, but while it was being
chatted about, I said to myself "Oh, I'll never run into that problem..."...

If someone has a log of what causes the problem (I know, too much global
data) and what can be done to alleviate it (I know, cut down on global 
data  :-)  ) could that kind person email me that log.

If I get enough Enquiring minds, I'll summarize to the net.

"Thanks in advance." <- famous last words.
-- 
Raymond Chen	UUCP: ...allegra!princeton!{phoenix|pucc}!rjchen
		BITNET: rjchen@phoenix.UUCP, rjchen@pucc
		ARPA: rjchen@phoenix.PRINCETON.EDU, rjchen@pucc.PRINCETON.EDU
"Say something, please!  ('Yes' would be best.)" - The Doctor

mark@intek01.UUCP (Mark McWiggins) (11/21/88)

I finally got this straight last week.

Turbo C's HUGE model is basically the same as Microsoft's LARGE model.  The 
only difference between Turbo HUGE and Turbo LARGE is the 64K global data limit
in LARGE model.  There is no way to get all pointers to be huge, as in
Microsoft; you have to declare every such pointer INDIVIDUALLY in Turbo.

Hope this helps.
-- 

Mark McWiggins			UUCP:		uunet!intek01!mark
DISCLAIMER: I could be wrong.	INTERNET:	intek01!mark@uunet.uu.net
						(206) 455-9935