Lattice-problem
Paul,
First you should go the C library here and download the 5.10a update from
Lattice and install it. The other thing is to use the"options" icon from
workbench (seems like you are a workbench user, no?) and select "Object
Options". On the screen that appears click on the "Enable Link from LSE"
option. If you then look into the file, SASCOPTS you should see a -L entry.
The .o file is a compiler output of a linkable object. You then have to run
blink to link that object with, at minimum for a main function, the c.o
startup code supplied with the compiler and set for library searches in
lc.lib+amiga.lib. From workbench, all these options can be set from the
Options icon execution. Look at page G20-11 thru G20-18 for the
documentation of these features. Mark these pages with a post-it as they
are not ref'd in the TOC or index at all!!! You may also need to add to
your startup-sequence the statement assign LSE_FILES: LC: you can also use
the Starter Project drawer duplication method to set up project drawers
which I find very useful. That will also help control where the output
files end up.
wmc