Path: utzoo!utgpu!water!watmath!clyde!att-cb!osu-cis!tut.cis.ohio-state.edu!rutgers!mtunx!mtuxo!mtune!codas!usfvax2!jc3b21!fgd3 From: fgd3@jc3b21.UUCP (Fabbian G. Dufoe) Newsgroups: comp.sys.amiga Subject: Re: Maximum array size in Lattice 4.0 Summary: To turn off base relative addressing use -b0. Message-ID: <367@jc3b21.UUCP> Date: 15 Apr 88 04:55:15 GMT References: <692@kuling.UUCP> <49386@sun.uucp> Organization: St. Petersburg Jr. College, FL Lines: 27 In article <49386@sun.uucp>, cmcmanis%pepper@Sun.COM (Chuck McManis) writes: > 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. The change to the base relative addressing flag is a little confusing. The compiler uses base relative addressing by default. If you want to turn that off the switch setting is -b0. It's discussed on page C-19, the ^^^ description of lc1. The manual says: -b Base register relative data addressing. Note that this [is] now the default. To switch this mode off use -b0 option. The options -b or -b1 will switch base register relative data addressing back on again. --Fabbian Dufoe 350 Ling-A-Mor Terrace South St. Petersburg, Florida 33705 813-823-2350 UUCP: ...gatech!codas!usfvax2!jc3b21!fgd3