|MS-COFF Object Files firstname.lastname@example.org (1996-11-10)|
|Re: MS-COFF Object Files email@example.com (Michael Meissner) (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-12)|
|Re: MS-COFF Object Files firstname.lastname@example.org (1996-11-14)|
|Re: MS-COFF Object Files email@example.com (1996-11-19)|
|From:||Michael Meissner <firstname.lastname@example.org>|
|Date:||12 Nov 1996 22:02:03 -0500|
| Is there any code shareware etc, that abstracts object file format ?
| I want to port/recode a codegen I have for 16bit 286 to 32bit 486+
| CPU's. ...
| [There's a GNU object library, but I don't recall having seen an MS
| backend for it. -John]
Version 2.7 of the gnu BFD library (in the binutils-2.7 package) adds
support for i386 and PowerPC Windows32 object file formats (both the
object format, which is mostly COFF, and the PE format for
executables). I don't know if it supports the 16bit relocations.
Another possibility is to emit assembly code (if you have an assembler
that spits out the appropriate object file). The GNU compiler does
this, and I've personally ported the compiler to different object
formats that took the same syntax by redirecting the assembler.
Bear in mind that the GNU binutils package is covered by the Gnu
Public License, which means that if you incorporate the code into
another product and release that product, the other parts of the
product must be available under the GPL.
Michael Meissner, Cygnus Support (East Coast)
4th floor, 955 Massachusetts Avenue, Cambridge, MA 02139, USA
email@example.com, 617-354-5416 (office), 617-354-7161 (fax)
Return to the
Search the comp.compilers archives again.