Jump to content

Preferred Executable Format

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Guy Harris (talk | contribs) at 01:54, 28 September 2016 (Mac OS redirects to macOS now; classic Mac OS is the page for the pre-Mac OS X OS. Rewrite to clarify PEF on Mac OS X (and avoid another Mac OS link that doesn't refer to Apple's UNIX-for-Macs).). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Preferred Executable Format
Uniform Type Identifier (UTI)com.apple.pef-binary
Developed byApple Computer
Type of formatexecutable
Container forPowerPC executable and object code

The Preferred Executable Format is a file format that specifies the format of executable files and other object code. PEF executables are also called Code Fragment Manager files (CFM).

PEF was developed by Apple Computer for use in its classic Mac OS operating system. It was optimised for RISC processors. In macOS, the Mach-O file format is the native executable format. However, PEF is still supported on PowerPC-based Macintoshes running Mac OS X and is used by some Carbon applications ported from earlier versions for classic Mac OS, so that the same binary can be run on classic Mac OS and Mac OS X.

BeOS on PowerPC systems also uses PEF, although x86 systems do not.

See also