Need help with object files.
Michael Meissner
gnu@the-meissners.org
Thu May 22 23:19:00 GMT 2003
On Thu, May 22, 2003 at 02:52:00PM -0700, Rich wrote:
> Hi,
>
> How do I get a listing of an object file's contents? What I would like
> is a listing of the functions and extern variables declared inside the
> .o and .a files I use with the GCC C++ compiler.
>
> Thanks.
Use the command objdump with various options to display the contents of an
object file. Use the command nm to look at the symbols in an object file.
Both are part of the GNU binary utilities (binutils).
--
Michael Meissner
email: gnu@the-meissners.org
http://www.the-meissners.org
More information about the Gcc
mailing list