[comp.sys.mac] MPW 3.0 and Global Data > 32k

gww@g.cs.wvu.wvnet.edu (Gary Carvell) (04/13/89)

I am porting a large UNIX program to the Mac II using MPW C 3.0.  The existing
program has about 27k of global data.  I have just added the next component, 
whthe -m option, then link with -ss <size> and -srt.
My question is, do I just recompile the parser files with -m, or do I need to
recompile all the source files?

Thanks in advance for your help.

Gary

gww@h.cs.wvu.wvnet.edu (Gary Carvell,,2919895,2911367) (04/13/89)

Sorry about that last posting, it got munged by the mailer.  It should have
read like this...

I am porting a large UNIX program to the Mac II using MPW C 3.0.  The existing
program has about 27k of global data.  I have just added the next component, 
which includes a parser containing large static data tables (it was created by
YACC).  This new addition has put the program well over the 32k limit.  
According to the documentation for MPW 3.0, all I need to do to allow > 32k of
global data is compile with the -m option, then link with -ss <size> and -srt.
My question is, do I just recompile the parser files with -m, or do I need to
recompile all the source files?

Thanks in advance,

Gary