|MS-COFF Object Files email@example.com (1996-11-10)|
|Re: MS-COFF Object Files firstname.lastname@example.org (Michael Meissner) (1996-11-12)|
|Re: MS-COFF Object Files email@example.com (1996-11-12)|
|Re: MS-COFF Object Files firstname.lastname@example.org (1996-11-12)|
|Re: MS-COFF Object Files email@example.com (1996-11-14)|
|Re: MS-COFF Object Files firstname.lastname@example.org (1996-11-19)|
|From:||email@example.com (Shankar Unni)|
|Date:||12 Nov 1996 22:06:42 -0500|
|Organization:||Chromatic Research, Sunnyvale, CA|
> [There's a GNU object library, but I don't recall having seen an MS
> backend for it. -John]
The latest GNU binutils (2.7) has support for PE (Portable Executable -
that's Microsoft's object format - a COFF derivative) for several
architectures (Intel X86, PowerPC and ARM).
You can generate a "libbfd.a" for the appropriate backends you are
interested in (in this case, I suspect just the one: PE/ix86), and make
calls to it to read and write object files.
PE is documented reasonably well in the Visual C++ documentation, and there
is a whole bunch more documentation on PE in the Microsoft Developers'
Network CDs. (For those who feel like paying $$ for it).
You can get the latest binutils by poking around in prep.ai.mit.edu
(anonymous ftp, under /pub/gnu).
Shankar Unni firstname.lastname@example.org
Chromatic Research (408) 752-9488
Return to the
Search the comp.compilers archives again.