Page 1 of 1

Windows C++ compiller OBJ structure.. where to look

Posted: Thu Oct 03, 2002 5:33 pm
by soilwork
where could I find some infor on the windows 32 bit OBJ structure?? Thinking about making a linker...

actually not making a linker but modifying the assembler from MMURTL that assembels and links everything in the order listed in the ATF file. I wanna add the possibility to use OBJ files in there so I can use other compillers beside the one supplied with the book...

hope it makes sence..

what has keept me from making my os for so loooooong is the tools..

Re:Windows C++ compiller OBJ structure.. where to look

Posted: Fri Oct 04, 2002 1:27 am
by Pype.Clicker
try wotsit.org (or com, or net, can't remember). virtually every file format (even .ttf and .swf) is documented over there ;)

Re:Windows C++ compiller OBJ structure.. where to look

Posted: Sat Oct 05, 2002 12:16 am
by Schol-R-LEA
Generally, if you want linker info, I'd recommend reading Linkers and Loaders by Levine (an early draft can be found online, but I would strongly suggest either buying or borrowing the dead-tree edition if you can). It has detailed descriptions of most of the major object and executable formats, including OMF (the format of the .OBJ files). It is an Intel format, original designed for 8-bit 8080 code stored on paper tape, and like the processors it is meant to support, has suffered numerous extensions, revisions and variations along its long and winding road to Pentium IV, Windows XP, .NET environment it now inhabits.

The OSRC has a few pages on the Object Module Format, including the LIB variant. This PostScript file has similar information as well, if somewhat neater. MyFileFormats and wotsit.org also hav edescriptive files on the format as well.