View Single Post
  #4  
Old March 6th, 2007, 02:29 PM
artov artov is offline
Registered User
 
Join Date: Mar 2005
Posts: 267
Thanks: 0
Thanked 6 Times in 6 Posts
artov is on a distinguished road
Use file command in Terminal.app

$ file the-name-of-the-file

For PPC programs, you get something like

$ file /usr/bin/tile
/usr/bin/tail: Mach-O executable ppc

Normall OS X programs are actually directories, like

$ file /Applications/Aperture.app
/Applications/Aperture.app: directory

and for Universal applications:

$ cd /Applications/Aperture.app/Contents/MacOS
$ file Aperture
Aperture: Mach-O fat file with 2 architectures
Aperture (for architecture ppc): Mach-O executable ppc
Aperture (for architecture i386): Mach-O executable i386
Reply With Quote