Path: utzoo!attcan!uunet!cbmvax!jesup From: jesup@cbmvax.commodore.com (Randell Jesup) Newsgroups: comp.sys.amiga.tech Subject: Re: Lattice 5.05 code size limitation of 32K? Message-ID: <14941@cbmvax.commodore.com> Date: 8 Oct 90 02:02:53 GMT References: Reply-To: jesup@cbmvax.commodore.com (Randell Jesup) Organization: Commodore, West Chester, PA Lines: 18 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. -- 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!"