Path: utzoo!utgpu!watserv1!maytag!xenitec!tirith!ggk From: ggk@tirith.UUCP (Gregory Kritsch) Newsgroups: comp.sys.amiga.tech Subject: Re: Large code Message-ID: <2646.653194441@tirith.UUCP> Date: Wed Sep 12 20:54:01 1990 >When I try to link a larg program > 300K together with lattice C V5.05, >I get Relative address >32768 or something like that to _GfxBase. > >I am compiling with -b0 > >I have tried making the struct GfxBase *GfxBase line near with the __near >keyword. > >I pressume this is because lc.lib was compiled without -b0. > >What can I do ?? Easiest solution here would be to use lcnb.lib, which WAS compiled with -b0 on. Yet another poorly documented feature... there are several .lib files included with LC 5.0x, for all the different modes available. There is about 1 page of info on them, lost somewhere in the first section of the manual. --- Gregory Kritsch Fido: 1:221/208.11110 [1:163/109.30] UUCP: xenitec!tirith!ggk