DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Shared libraries

Identifying a.out files that use shared libraries

Use the dump(CP) command to look at the section headers for the file:

dump -hv a.out

If the file has a .lib section, a shared library is needed. If the a.out does not have a .lib section, it does not use shared libraries.

To display the shared libraries used by a.out, use the -L option as shown in the following example:

dump -L a.out


Next topic: Debugging a.out files that use shared libraries
Previous topic: Coding an application

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003