I want to find the .lib specs but what I found was kind of a mess, so I think I lost it now.

There seem to be several different formats around: borland's, unix's (AR files) and ms's (wich someone said that are the UNIX's AR).

The file I have in hand came from MASM stuff, BUT it doesn't fit a description of a UNIX AR file I got. :( Not completely, I mean. The "!<arch>" beginning is ok, but the rest of it has binary data too, instead of text only... :\

The reasons I want to know it:
1. I want to know the functions/contents of a .lib file that I INCLUDELIB on my sources.
2. I want to be able to "read" the files I have already and to hand build my own if I want so.
3. If I could get rid of them I would be "innerly-satisfied".

The search on the net wasn't meaninfull, as it brought a LOT of garbage, as I said. And the search here has all the TITLES I needed, but the links aren't working. Also, there is quite a mess about the specific thing I want: ".lib file specification (specs) from the LINKer of MASM32 package" .... phew.

I think I put all there. Hope someone can help me. If someone have this spec in hands, please send it to my email/post here AFAP. :O If not, oh dear... :**(

Later, everyone. =)

Posted on 2003-07-06 03:21:12 by wicr0s0ft
There is a fairly good article here
Posted on 2003-07-06 03:24:34 by donkey
A fairly good article, indeed. Thank you, donkey. =)

Unfortunately it doesn't have the bin file specs, IYKWIM. It has good pointers though: this .lib is a "collection" of COFF .obj's, and the structures are declared in winnt.h.
Posted on 2003-07-06 04:50:11 by wicr0s0ft

I'll have to try with this article then. It is all scattered around, but it shouldn't take that much time to put together, =) .... I hope. 8O

I hope I'm on the right path, though, with this whole mess about .lib files... :\

Posted on 2003-07-07 03:45:52 by wicr0s0ft
Where is the OMF library file(used by TLink32) format specify?
Posted on 2003-07-07 05:06:02 by KomsBomb