phil@rice.edu (William LeFebvre) (12/29/88)
I have a few rather naive questions about amiga.lib and libraries in
general.
As some of you may know, I have been writing a few assembly language
programs in my spare time using A68K and Blink with the 1.2 developer's
kit (I'll order 1.3 soon....soon....soon). According to the RKM's,
amiga.lib has a few extra support functions in it like CreatePort and
DeletePort. At one point I tried using them by pushing the appropriate
stuff on the stack and using "xref CreatePort; jsr CreatePort". The
linker (linking with amiga.lib, of course) did not find the function. Are
they really in there? Do the names have "_" prepended to them like they
do in Unix (I haven't tried that yet)? I ended up just reimplementing
what I needed in assembly language, but I would still like to know.
I also have a meta-question. If I knew the answer to this one, I wouldn't
need to ask the previous one. Is there an "nm" equivalent for amiga
libraries? "nm" is a Unix utility that shows (among other things) what
entry points are defined in a library archive (".a") or an object file.
William LeFebvre
Department of Computer Science
Rice University
<phil@Rice.edu>