On 26/01/2008, Patrick Machielse wrote in message
:
> the 'file' command will list the architectures for which your binary is
> compiled.
Excellent:
SimonsMBP:MacOS simon$ file []Preview
Preview: Mach-O universal binary with 2 architectures
Preview (for architecture i386): Mach-O executable i386
Preview (for architecture ppc7400): Mach-O executable ppc
SimonsMBP:MacOS simon$ file []Gunnar
Gunnar: Mach-O executable ppc
SimonsMBP:DemoApp.app simon$ file []DemoApp
DemoApp: Mach-O executable arm
Okay. So there's some variation depending on whether it has multiple
architecture. I wonder what would happen if one supported three
architectures: would it call it 'universal trinary' ?
Many thanks for the help to both you and Dave Seaman.
Simon.
--
http://www.hearsay.demon.co.uk >> Stay informed about: Telling which platforms an app is compiled for