How to open a .a file

Mgst picture Mgst · Apr 24, 2010 · Viewed 48k times · Source

I've a little problem: I have to open a linker file that has .a extension. I use Dev-C++.

Answer

el.pescado picture el.pescado · Apr 24, 2010

.a files are ar archives (something like zip archives) of object (.o) files. You can list files in .a file using ar program:

ar t file.a

And extract all files:

ar x file.a