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

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
soilwork

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

Post 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..
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

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

Post 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 ;)
Schol-R-LEA

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

Post 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.
Post Reply