[comp.sys.amiga] Lattice 5.0 Bugs

rlcarr@athena.mit.edu (Rich Carreiro) (02/06/89)

Could someone send me a list of the known 5.0 bugs?
I've finally set up my compiler (had it since it came out) and
would like to know what to watch for.

For anyone who's interested, this is my set-up:

Somewhat stripped WB with lcerrs.txt and cpr.hlp in S: and CPR in C:.
BLINK, LC, LC1, and LC2 are NOT on this disk.
I then copy this to RAD:, and since I have 1.3 (and an A1000), I can boot
from RAD: after that.  I have a disk called LC with all the compiler
stuff except CPR.  I then RESIDENT BLINK, LC, LC1, LC2, and GO, and leave
the header and lib disk in the internal drive.  I can then put my program disk
in the external drive.  All this, plus Mach2.4, VirusX3.1, and 300 FaccII
buffers leaves me with about 900KB of memory (split evenly between CHIP and
FAST) - I have 2.5MB of mem to start with.

I also have a couple of questions:

I know that things like Images must be in CHIP RAM.  Can someone tell me
exactly what must be in CHIP?  Do NewWindow structures have to be, etc. etc.?
When such things are pre-initialized before main() where do they end up?
After main()?

Now for something more specific -  I have an example program that shows you
how to do gadgets.  When I compile it with
lc -v -L gadget
it runs but gadget images don't show up.
So then I tried
lc -v -abd -L gadget
to put everything but the code into CHIP RAM.
THis time, BLINK gives me an ERROR 510 - someting about IntuitionBase
referring to some nonmerged thing (note: where in the 5.0 manuals
are the BLINK error messages?  I can't seem to find them.  Are they there.
or is my brain just vapor locking?) and suggests to use -b0.  So I do:
lc -v -abd -b0 -L gadget
but the same thing happens [note BLINK knows enough to pull in lcnb.lib
with this command].  So then I try
lc -v -abcd -L gadget
and I still get the ERROR 510.  So I do
lc -v -abcd -b0 -L gadget
and get the error yeet again.
Finally I do
lc -v gadget
blink from lib:c.o gadget.o lib lib:lc.lib lib:amiga.lib chip

This sequence works, but the whole program is in CHIP rather than
just the data.
lc -v -abd -L gadget
worked FINE with 4.0.  IS this one of the bugs, or some change, or what?

Any and all responses will be GREATLY appreciated!

ARPA:    rlcarr@athena.mit.edu
UUCP:    {wherever}!mit-eddie!mit-athena!rlcarr
BITNET:  rlcarr%athena.mit.edu@MITVMA.mit.edu

*******************************************************************************
* Rich Carreiro                 "Back off man, I'm a scientist."              *
* rlcarr@athena.mit.edu                - Dr. Peter Venkman                    *
*******************************************************************************