Difference between revisions of "Mach-O"

From Free Pascal wiki
Jump to navigationJump to search
(New page: from [http://en.wikipedia.org/wiki/Mach-O Wikipedia]: Mach-O, short for Mach object file format, is a file format for executables, object code, shared libraries, dynamically-loaded code, ...)
 
m
Line 8: Line 8:
  
 
File Format Reference can be found [http://developer.apple.com/documentation/DeveloperTools/Conceptual/MachORuntime/Reference/reference.html here]
 
File Format Reference can be found [http://developer.apple.com/documentation/DeveloperTools/Conceptual/MachORuntime/Reference/reference.html here]
 +
 +
 +
Following tools are used in Mac OS X to view Mach-O files:
 +
 +
[http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/otool.1.html otool] - object file displaying tool
 +
 +
[http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/nm.1.html nm] - display name list (symbol table)

Revision as of 11:30, 26 August 2009

from Wikipedia:

Mach-O, short for Mach object file format, is a file format for executables, object code, shared libraries, dynamically-loaded code, and core dumps. A derivation of the a.out format, Mach-O offered more extensibility and faster access to information in the symbol table.

Mach-O was once used by most systems based on the Mach kernel. NeXTSTEP, Darwin and Mac OS X are examples of systems that have used this format for native executables, libraries and object code. GNU Hurd, which uses GNU Mach as its microkernel, uses ELF, and not Mach-O, as its standard binary format.


File Format Reference can be found here


Following tools are used in Mac OS X to view Mach-O files:

otool - object file displaying tool

nm - display name list (symbol table)