Path: utzoo!attcan!uunet!husc6!uwvax!tank!nucsrl!accuvax.nwu.edu!bob From: bob@accuvax.nwu.edu (Bob Hablutzel) Newsgroups: comp.sys.mac.programmer Subject: Re: MPW LINK error - Global data area size. Message-ID: <10050058@accuvax.nwu.edu> Date: 12 Dec 88 13:54:47 GMT References: <916@taurus.BITNET> Organization: Northwestern U, Evanston IL, USA Lines: 23 >I'm trying to link some objectcode and got a link error : >Size of global data area: 88014 >link:Error More than 32,768 bytes of global variables : 88014 >etc ... >I tried to use the '-ss 100000' option but it did not help (.. should it ..?) >Any one outthere have any idea that could help ? >(I'm using Mac Se with MPW version 2.0.2 ) >thanx in advance . As far as I know, MPW doesn't allow more than 32768 bytes of global variables. It sounds like you probably have a large array allocated in the globals - you might have to use the memory manager and allocate a pointer for these arrays. >--------------------------------------------------------------------------- >Ami Ben-Amram , Systems Programmer ARPANET (best): amy@math.tau.ac.il > BITNET: amy@taurus >Tel-aviv university >School of math&science, >Ramat-aviv,Tel-aviv. >Israel.69978 Bob Hablutzel BOB@NUACC.ACNS.NWU.EDU