CompuServe Messages

zc libs & linking

    24-Jun-90 15:39:37
Sb: #109884-zc libs & linking
Fm: Mike Spille/Manx 71545,1466
To: Mike Spille/Manx 71545,1466
(darn message length limit) The extensions aren't required, but the most commonly used ones. Your basic development cycle on the Amiga is the same as with other machines. You create your source file, compile it, possibly assemble it, link it, and run it. The only real problems you can encounter on setup are compiler searching for include files, linker searching for libraries, and linking the correct libraries in. For the 1st two, you generally just have to make an environment variable to point where your headers and libraries are, something along the lines of 'set INCLUDE=mydisk:include' and 'set CLIB=mydisk:libraries' (the actual syntax and commands will vary from compiler to compiler). As for the correct library, thats very specific to the compiler you're using. The only 'standard' library on the Amiga is amiga.lib, which is provided by Commodore. Beyond that library, you may very well need additional libraries – what they are depend on your compiler. The one requirement for Amiga programming is to get the RKM's (Rom Kernal Manuals). These are the official programming guides for the Amiga, and are essential if you want to do anything serious (or even semi-serious) on the Amiga. They don't attempt to teach you C though, so you should make sure you have a good C reference as well. -Mike