lotus

previous page: 11.4: How can I sort my libraries (or other files)?
  
page up: comp.sys.apple2. gno FAQ
  
next page: 11.6: Why isn't the common function XXXX in the libraries?

11.5: How can I tell what is in library XXXX?




Description

This article is from the Apple II GNO FAQ, by Devin Reade with numerous contributions by others.

11.5: How can I tell what is in library XXXX?

    A#11.5:	The only way to tell for sure what is in a library is to
look at the symbol table.  The most common way to do this
is to get a listing by using Byte Works' makelib(1) utility,
which comes with their various language packages (see the -D
and -F flags).

There is also a program available, listlib(1), which is a
front end to makelib.  It provides the same information as
makelib, but in an alternate format more suited to cross
referencing symbols to the files containing them.

Of course, knowing what symbols are in a library doesn't help
unless one knows what the symbols are for.  Every library should
have at least one header (*.h) file.  This tells the compiler
the type, size, and other important information for each symbol.

Header files, however, are intended for the compiler.  A good
library should come with documentation, preferably manual pages
(see Q#3.4, Q#3.5, and Q#3.6).

If documentation isn't available and the symbols appear to be
common UNIX symbols, then try reading a manual page from any
available UNIX box.  It might not be right, but it may give you
a start.  Next try posting a question to comp.sys.apple2.gno.
Perhaps you will be able to contact the author (not likely if there
wasn't any documentation).  When all else fails, there's always
disassembly of the object files ...
    

 

Continue to:













TOP
previous page: 11.4: How can I sort my libraries (or other files)?
  
page up: comp.sys.apple2. gno FAQ
  
next page: 11.6: Why isn't the common function XXXX in the libraries?