Jul 102009
Folks,
There’s a MOSX command line tool, that many people are unaware of called “file”. This application will give you information about what architectures applications will run on, and if it’s not an application, it will attempt to identify what the file is.
For example:
dhcp105-53:~ Ben$ file test.pdf
test.pdf: PDF document, version 1.3
dhcp105-53:~ Ben$ file test.pdf test.pdf: PDF document, version 1.3 dhcp105-53:MacOS Ben$ file iChat iChat: Mach-O universal binary with 2 architectures iChat (for architecture x86_64): Mach-O 64-bit executable x86_64 iChat (for architecture i386): Mach-O executable i386What does all of this mean?
| Message | Meaning |
| architecture ppc | 32 bit PowerPC Executable |
| architecture ppc64 | 64 bit PowerPC Executable |
| architecture i386 | 32 bit Bit Intel executable |
| architecture x86_64 | 64 bit Bit Intel executable |
The caveat is for applications, you need to actually use file on the executable file, not on the Application Bundle.
So, you will need to open the bundle, and transverse to Contents > MacOS, so for example, for iChat:
cd /Applications/iChat.app/Contents/MacOS
More from The Matrix Data Bank
- Here's to the crazy ones… — The Matrix Data Bank
- At&T to Roll Out MMS Today
- How to shoot an anvil 200 feet into the air
- Dungeons and Dragons Online: behold the power of free
- Doctor Who – The End of Time
The Matrix Data Bank Recommends
- Start With The End In Mind (The IT Juggler)
- Before the “What” you need a “Why” (The IT Juggler)
- IPhone 3G Downloads – How to Download Music, Movies, Games and Software For 3G IPhone (The IT Juggler)
- Spy Gadgets – Hi-Tech Gadget Sales Remain Steady During Recession (The IT Juggler)
No related posts.