Opening archive files

Momchil Velikov
Tue Oct 29 15:08:00 GMT 2002

On Tue, 29 Oct 2002 17:02:29 -0600 (CST)
Satya <> wrote:

> Hi,
>   I want to read the symbols from an archive (.a) file. I tried to use
> dlopen, it works fine for a .so file, but fails to recognize the
> format of an archive file. Can anyone help me regarding this.

The format of .a archives is usually described in a header "ar.h".
See the sources for the "ar" program too.


More information about the Gcc-help mailing list