🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Just puzzled...

#3082
From: J I L Gold
Date: Mon, 26 Mar 1990 11:00
18 lines
1410 bytes
Just a quick question about the Lattice C compiler, me being pretty
ignorant of technical details. I'm writing a colour font editor at
the moment, and added an extra menu option a couple of days back.
Up to then, my compiler command went lc -L -cist FedUP.c and all
went well. However, I suddenly got the message from BLink "(some
variable) range > 64k. Try -b0 on LC". Fine, I looked up -b0 and that
changes 16 bit addressing to 32 bit. I can handle that. However, when 
I stuck the -b0 in, I STILL got an (albeit different) message like
"Symbol _IntuitionBase out of range. Try -b0 on LC." So I tried
sticking permutations of far and external around my IntuitionBase 
definition to no avail. I solved the problem finally by changing
-L to -Lt which means (and I'm none the wiser) use a smallcode and
smalldata model. Can anyone explain what the problem originally
was and whether my solution was the "right" one. Cheers :-)

-- 
#  J.Gold                            |    mapjilg@uk.ac.bath.gdr               #
#  University of Bath , UK           |    jilg@uk.ac.bath.maths                #
Technical Details
Message-ID: <1990Mar26.110056.15187@bath.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!ukc!dcl-cs!gdt!mapjilg

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!ukc!dcl-cs!gdt!mapjilg
From: mapjilg@bath.ac.uk (J I L Gold)
Newsgroups: comp.sys.amiga.tech
Subject: Just puzzled...
Message-ID: <1990Mar26.110056.15187@bath.ac.uk>
Date: 26 Mar 90 11:00:56 GMT
Organization: Bath University Computing Services, UK
Lines: 18