PE: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
m PE Binaries moved to PE
Formatted and Moved into Stubs
Line 1: Line 1:
{{Convert}}
{{stub}}


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.
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]])
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]])

* http://perso.wanadoo.fr/pierrelib/exec_formats/PE_v1.0.html
* http://perso.wanadoo.fr/pierrelib/exec_formats/OMF_v1.1.html


Operating Systems that use it: Windows 95/98/NT, the Mobius.
Operating Systems that use it: Windows 95/98/NT, the Mobius.


== See Also ==

== Links ==
* [http://www.google.com/search?hl=en&q=Inside+Windows+PE+format&btnG=Google+Search MSDN] documentation about PE format
* [http://www.google.com/search?hl=en&q=Inside+Windows+PE+format&btnG=Google+Search MSDN] documentation about PE format
* http://perso.wanadoo.fr/pierrelib/exec_formats/PE_v1.0.html
* http://perso.wanadoo.fr/pierrelib/exec_formats/OMF_v1.1.html


[[Category:Executable Formats]]
[[Category:Executable Formats]]