PE

From OSDev.wiki
Revision as of 22:27, 6 March 2007 by Combuster (talk | contribs) (Rough import from osfaq)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Convert

With Windows 95/NT, a new exectuable file type was required. Thus was born the "PE" Portable Executable, which is still in use. Unlike its predecessors, WIN-PE is a true 32bit file format, supporting relocatable code. It does distinguish between TEXT, DATA, and BSS. It is, in fact, a bastardised version of the COFF format.

If you did set up a [Cygwin | http://www.cygwin.com] environment on your Windows machine, "PE" is the target format for your Cygwin GCC toolchain, which causes the unaware some headache when trying to link parts build under Cygwin with parts build under Linux or BSD (which use the ELF target by default). (Hint: You have to build a [GCC Cross-Compiler]...)

Operating Systems that use it: Windows 95/98/NT, [the Mobius|TimRobinson].


Links