Path: utzoo!mnetor!uunet!husc6!cmcl2!nrl-cmf!ames!oliveb!sun!pepper!cmcmanis From: cmcmanis%pepper@Sun.COM (Chuck McManis) Newsgroups: comp.sys.amiga Subject: Re: Maximum array size in Lattice 4.0 Message-ID: <49386@sun.uucp> Date: 13 Apr 88 17:43:57 GMT References: <692@kuling.UUCP> Sender: news@sun.uucp Reply-To: cmcmanis@sun.UUCP (Chuck McManis) Organization: Sun Microsystems, Mountain View Lines: 19 In article <692@kuling.UUCP> jonasf@kuling.UUCP (Jonas Flygare) writes: > >Well, maybe I'm just plain stupid, or something, but if any of you people >"out there" have an intelligent answer to this, I would be very grateful. >I have been cursing over a program for a while now, and the trouble is >the compiler barfs on an array of ints, with a size of almost 70000. In the 4.0 release (currently 4.01 call the BBS for the update) the options for base address data references was changed. It use to default to false now it defaults to true. That means your BSS size couldn't be more than 64K (+/- 32K). The fix is easy, compile it with the -b1 switch which will turn this mode off and address everything with 32 bit addresses. Read the manual under the section 'compiler features' or some such for a description of these issues. --Chuck McManis uucp: {anywhere}!sun!cmcmanis BIX: cmcmanis ARPAnet: cmcmanis@sun.com These opinions are my own and no one elses, but you knew that didn't you.