🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #5674

Re: Lattice 5.05 code size limitation of 32K?

#5674
From: Randell Jesup
Date: Mon, 08 Oct 1990 02:02
18 lines
1333 bytes
In article <ben.2904@epmooch.UUCP> 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!"
Technical Details
Message-ID: <14941@cbmvax.commodore.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cbmvax!jesup
References: <ben.2904@epmooch.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <ben.2904@epmooch.UUCP>
Reply-To: jesup@cbmvax.commodore.com (Randell Jesup)
Organization: Commodore, West Chester, PA
Lines: 18