Path: utzoo!attcan!uunet!decwrl!sdd.hp.com!uakari.primate.wisc.edu!unmvax!uokmax!servalan!epmooch!ben From: ben@epmooch.UUCP (Rev. Ben A. Mesander) Newsgroups: comp.sys.amiga.tech Subject: Re: Lattice 5.05 code size limitation of 32K? Message-ID: Date: 7 Oct 90 12:28:48 GMT References: <14941@cbmvax.commodore.com> Lines: 32 >In article <14941@cbmvax.commodore.com> jesup@cbmvax.commodore.com (Randell Jesup) writes: >In article ben@epmooch.UUCP (Rev. Ben A. Mesander) writes: >>I've been porting GNU Chess to the Amiga with Lattice 5.05. I've come >>across a compiler message something along the lines of: >>"Object size larger than 32768 bytes, some branches may be incorrect. >>Please place subroutines in separate modules". >>(That's not it, exactly... but from memory) >> >>This error message is not in the compiler manual. I'm compiling the source >>code with the -r0 and -b0 options, which allow full 32-bit addressing for >>code and data, so I would not expect any 32K size limit. > > Try linking with lcnb.lib instead of lc.lib. (Ditto for lcmnb.lib >instead of lcm.lib.) These are the -b0 versions of the libraries. > I *am* linking with lcnb.lib. This message is coming from LC1, not the linker, anyway. It turns out the message goes away if I turn off all the debugging options. I'm not sure if it got better because of the code size reduction, or if there is some problem with -b0 code generation and the debugging options. It's making my Intuition interface for GNU Chess hard to debug - lots of printf()'s... >-- >Randell Jesup, Keeper of AmigaDos, Commodore Engineering. >{uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.cbm.commodore.com BIX: rjesup >Common phrase heard at Amiga Devcon '89: "It's in there!" -- | ben@epmooch.UUCP (Ben Mesander) | "Cash is more important than | | ben%servalan.UUCP@uokmax.ecn.uoknor.edu | your mother." - Al Shugart, | | !chinet!uokmax!servalan!epmooch!ben | CEO, Seagate Technologies |