Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > What is MACH O and what is a MACH O application?

What is MACH O and what is a MACH O application?
Thread Tools
Tyre MacAdmin
Mac Elite
Join Date: Feb 2002
Status: Offline
Reply With Quote
Jul 28, 2003, 05:15 AM
 
I was reading the add for the new Quark for OS X and it listed it as a MACH O application.... what the heck is a mach o app/api?
     
Chuckit
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Jul 28, 2003, 06:05 AM
 
Put simply, it's the native executable file format for Mac OS X. It defines conventions for how programs are structured. Apple has a whole document on the Mach-O Runtime Architecture if you're interested, but that's basically a lot of techie stuff. All that's really relevant to Joe User is that it's Mac OS X-native.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
calumr
Forum Regular
Join Date: Sep 2000
Location: UK
Status: Offline
Reply With Quote
Jul 28, 2003, 09:58 AM
 
It's like jpg and gif are 2 types of image file: mach-o and CFM are 2 types of executable file. Only CFM can work on OS 9.
     
aleph_null
Dedicated MacNNer
Join Date: Jan 2001
Location: Boulder, CO, USA
Status: Offline
Reply With Quote
Jul 28, 2003, 02:29 PM
 
Technically ... CFM (Code Fragment Manager) is the name of the runtime architecture. Its native file format is PEF. And if i recall correctly, "dyld" (dynamic link somethingorother) is the name of the runtime that uses Mach-O format executables.

Technically. But I don't care, either.
     
Tyre MacAdmin  (op)
Mac Elite
Join Date: Feb 2002
Status: Offline
Reply With Quote
Jul 28, 2003, 07:34 PM
 
So a cocca or carbon app would be a mach-o application?
     
aleph_null
Dedicated MacNNer
Join Date: Jan 2001
Location: Boulder, CO, USA
Status: Offline
Reply With Quote
Jul 28, 2003, 08:26 PM
 
Originally posted by Tyler McAdams:
So a cocca or carbon app would be a mach-o application?
Cocoa is only available to Mach-O clients.

But, there's both a Carbon framework for Mach-O clients and a Carbon PEF library for CFM clients. The API is available to either.
     
Angus_D
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Jul 30, 2003, 12:28 PM
 
Originally posted by aleph_null:
But, there's both a Carbon framework for Mach-O clients and a Carbon PEF library for CFM clients. The API is available to either.
New Carbon APIs aren't available to CFM, Apple stopped updating Universal Headers a year or so ago, I think.

CFM is only used for legacy Carbon applications, in general.
     
aleph_null
Dedicated MacNNer
Join Date: Jan 2001
Location: Boulder, CO, USA
Status: Offline
Reply With Quote
Jul 30, 2003, 05:24 PM
 
Originally posted by Angus_D:
New Carbon APIs aren't available to CFM, Apple stopped updating Universal Headers a year or so ago, I think.
Yeah. We ran into this at one point. You can still load the calls explicitly from the Mach-O bundle, but what a pain in the ... ProcPtr.
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 06:04 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,