CompuServe Messages

Compiler help

    23-May-90 19:43:02
Sb: #105976-Compiler help
Fm: JEFFREY C. DEGE 76426,211
To: Steve Jones 72040,1511
I see two possible problems. First, you usually want to put the compiler library before amiga.lib. There are some functions that exist in both, and you usually want the ones from the compiler library. Second, there is some startup code that has to go before your program code. With Lattice, this is called c.o. I don't remember what ZC calls it (I deleted it a few months back 😉 In any case, your link step should look something like: BLINK FROM Startup.o Myprog.o to myprog lib zc.lib amiga.lib