This is a comparison of executable file formats.
Explicit processor declarations | Arbitrary sections | Metadata | Digital signature | String table | Symbol table | 64-bit | Fat binaries | Can contain icon | |
---|---|---|---|---|---|---|---|---|---|
a.out | No | No | No | No | Yes | Yes | Extension | No | No |
COFF | Yes by file | Yes | No | No | Yes | Yes | Extension | No | No |
ELF | Yes by file | Yes | Yes | Yes | Yes | Yes | Yes | Extension | Extension |
PE | Yes by file | Yes | Yes | Yes | Yes | Yes | Yes | No | Yes |
Mach-O | Yes by section | Some | Yes | Yes | Yes | Yes | Yes | Yes | No |
SOM | Unknown | Unknown | No | No | Unknown | Yes | No | Unknown | No |
Hunk | Unknown | Yes | Yes | No | No | Yes | No | Yes | No |
MZ | No | Yes | No | No | No | No | No | No | No |
DOS COM | No | No | No | No | No | No | No | Extension | No |
CP/M-80 COM | No | Extension | No | No | No | No | No | Extension | No |
CP/M-86 CMD | No | Yes | No | No | No | No | No | No | No |
PEF | Yes by file | No | No | No | Yes | Yes | No | No | No |
ECOFF | Yes by file | Yes | No | No | Yes | Yes | Yes | No | No |
XCOFF | Yes by file | Yes | No | No | Yes | Yes | Yes | No | No |
NE | Unknown | Unknown | Unknown | No | Unknown | Unknown | No | No | Yes |
LX | Unknown | Unknown | Unknown | Unknown | No | Yes | No | No | Yes |
Among the above formats, the ones in most common use are PE (on Microsoft Windows), ELF (on Linux and most other versions of Unix) and Mach-O (on OS X and iOS).
Famous quotes containing the words comparison of, comparison and/or file:
“But the best read naturalist who lends an entire and devout attention to truth, will see that there remains much to learn of his relation to the world, and that it is not to be learned by any addition or subtraction or other comparison of known quantities, but is arrived at by untaught sallies of the spirit, by a continual self-recovery, and by entire humility.”
—Ralph Waldo Emerson (18031882)
“Intolerance respecting other peoples religion is toleration itself in comparison with intolerance respecting other peoples art.”
—Wallace Stevens (18791955)
“I have been a soreheaded occupant of a file drawer labeled Science Fiction ... and I would like out, particularly since so many serious critics regularly mistake the drawer for a urinal.”
—Kurt Vonnegut, Jr. (b. 1922)