andrewtj's Avatar
andrewtj 4
2 Asked
1 Answered
0 Best
0
No one has voted on this question yet :(
3 years, 1 month ago via Twitter

On an Intel Mac running OS X 10.5, how can I run the PowerPC blob of a Universal Binary from a shell script?

Tip for best answer: M$1.00
Separate topics with commas, or by pressing return. Use the delete or backspace key to edit or remove existing topics.

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$

What is Your Answer?

0
0
0

1 Answer

0
ensorceled's Avatar
ensorceled | 3 years, 1 month ago view on twitter
3
Force the translate of the binary. For instance to run Notebook as PPC application rather than native:

/usr/libexec/oah/translate /Applications/NoteBook.app/Contents/MacOS/NoteBook

The application needs to be universal:

file /Applications/NoteBook.app/Contents/MacOS/NoteBook
source(s):
Examples from running it on my MacBook Pro.

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$
andrewtj's Avatar
andrewtj | 3 years, 1 month ago Report

Thanks for answering - that would work. I ended up using /usr/bin/arch which allows you to specify the architecture:

/usr/bin/arch -arch ${arch} ${universal-binary}

Where arch can be any of i386, ppc, ppc64 or x86_64.

Report Abuse

Post Reply Cancel

Learn something new with our FREE educational apps!

Private lessons in the comfort of your own home. Get back in shape or finally pick up a guitar with our great experts guiding you the whole way!
Learn Guitar
Learn Hip Hop
Learn Pilates