- Prebinding
Prebinding is a method for reducing the time it takes to launch
executable s in theMach-O file format . For example, this is whatMac OS X is doing when in the "Optimizing" stage of installing system software or certain applications.Prebinding looks up memory offsets of symbols in libraries that the program is using before the program is launched, and stores this information ahead-of-time, so that the computer need not look up offsets repeatedly on each launch of the application.
Prebinding has changed a few times within the Mac OS X series. Until 10.2 prebinding only happened during the installation procedure (the aforementioned "Optimizing" stage). From 10.2 through 10.4 the OS checked for prebinding at launch time for applications, and the first time an application was run it would be prebound. So subsequent launches would be faster. This could also be manually run, and some OS-level installs did run this. In 10.5 Apple has changed the location of the prebinding information. It has moved from the front of each Mach-O executable to a shared cache on the computer. [cite web | url=http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/update_prebinding.1.html | title=Manual Page for update_prebinding | publisher=Apple Computer Inc | work=Apple Developer Connection ]
The movement of the prebinding information out form the binary was done to allow application signing, and has been widely mis-reported as the removal of the prebinding system altogether.
The equivalent process on Linux is called
prelink .See also
*
Late binding
*Library (computer science)
*Linker
*Loader (computing)
*Object File
* Relocation
*Static Library
*Prelinking
*Prefetcher References
* [http://radio.weblogs.com/0100490/stories/2002/08/24/prebindingExplained.html A detailed explanation] of prebinding
Notes
Wikimedia Foundation. 2010.