This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Opening archive files


On Tue, 29 Oct 2002 17:02:29 -0600 (CST)
Satya <satya@ittc.ku.edu> 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.

~velco


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]