Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!julius.cs.uiuc.edu!psuvax1!rutgers!rochester!pt.cs.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!dn0o+ From: dn0o+@andrew.cmu.edu (Derek Brooks Noonburg) Newsgroups: comp.sys.amiga.tech Subject: Re: Large code Message-ID: Date: 7 Sep 90 14:36:16 GMT References: Organization: Class of '91, Carnegie Mellon, Pittsburgh, PA Lines: 26 In-Reply-To: > Excerpts from netnews.comp.sys.amiga.tech: 6-Sep-90 Large code Simon > Raybould@fulcrum.b (332) > 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 pressume this is because lc.lib was compiled without -b0. You should be linking with lcnb.lib (lc.lib compiled with -b0) If you compile with the -L switch this gets done automatically, but if you do the link yourself you have to remember to do it. - Derek ========================================================================= = Derek Noonburg | ARPA: dn0o+@andrew.cmu.edu Senior - Computer Engineering | BITNET: dn0o+@andrew / dn0o+%andrew@cmccvb Carnegie Mellon University | UUCP: ...harvard!andrew.cmu.edu!dn0o+ USMail: Box 4175; 5125 Margaret Morrison St.; Pittsburgh, PA 15213 ========================================================================= =