Abaara topic: Fat binary

 

Abaara - Free Knowledge Database & Resources
 ABAARA
Abaara topic: Fat binary
 Categories

 e-Learning Platform

 Web Packages

 Newsletter

eLeaP eLearning Management Systems LMS LCMS Systems. Online training made easy. Free trial now.
 
Fat binary

A fat binary (or multiarchitecture binary) is a computer program that is native to multiple instruction set architectures (ISA) and thus can be run on multiple processor types. The usual method of implementation is to include a version of the machine code for each ISA, resulting in a file n times larger than a normal one-architecture binary, thus the name.

One popular occurrence of fat binaries was on the Apple Macintosh PowerPC, where a program would contain both 68000 instructions and PowerPC instructions. This was accomplished by putting the PowerPC code (in PEF format) into the data fork of the program, while the 68000 code continued to be stored as resources in the resource fork.

The Mach-O object file format used in NeXT's NeXTSTEP and OPENSTEP operating systems supports fat binaries, which allows software on a NeXT Cube to be compiled and run on an Intel machine running NeXTSTEP, and so on. The technology is also available in Darwin (Mac OS X), where it can be used to support multiple variants of an architecture, for instance to have different versions of code compiled for PowerPC G3, PowerPC G4, and PowerPC G5 processors.

Fat binary support is not commonplace among operating systems; there are several alternatives to solve the same problem, such as the use of an installer program to choose an architecture-specific binary at install time, or the use of a virtual machine and Just In Time compilation. In the FreeBSD operating system, software is distributed as source code instead of as binary files (see also free software), and thus FreeBSD does not need fat binaries nor virtual machines for the multiple architecture problem because the source code itself can be compiled to the native ISA after being downloaded.


< Back
 
Web info.abaara.com
 


Categories: Computing

 Web Results


 

This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License

 

 
Page topic: Fat binary