PE

From OSDev.wiki
Revision as of 00:48, 10 July 2007 by osdev>Alboin (Formatted and Moved into Stubs)
Jump to navigation Jump to search
This page is a stub.
You can help the wiki by accurately adding more contents to it.

With Windows 95/NT, a new executable 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 bastardized version of the COFF format.

If you did set up a Cygwin 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.

See Also