Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 8, 2010, 04:10 PM   #1
DarJ
macrumors newbie
 
Join Date: Apr 2010
How do you test for powerpc on an Intel?

I need to test that a command-line program works on ppc, but I don't have access to a machine of that type. I've been googling around and it looks like Qemu [1] might be worth exploring, but I haven't found any thorough guides on its use. I'm planning on using the open-source Darwin distribution [2] as the host OS to test the program. Does anybody have experience of this sort?
Thanks in advance.

[1] http://qemu.org
[2] http://opensource.apple.com/static/iso/
DarJ is offline   0 Reply With Quote
Old Dec 8, 2010, 04:19 PM   #2
gnasher729
macrumors G4
 
gnasher729's Avatar
 
Join Date: Nov 2005
Quote:
Originally Posted by DarJ View Post
I need to test that a command-line program works on ppc, but I don't have access to a machine of that type. I've been googling around and it looks like Qemu [1] might be worth exploring, but I haven't found any thorough guides on its use. I'm planning on using the open-source Darwin distribution [2] as the host OS to test the program. Does anybody have experience of this sort?
Thanks in advance.

[1] http://qemu.org
[2] http://opensource.apple.com/static/iso/
Create a build target that compiles for PowerPC only. Make sure you have Rosetta installed.
gnasher729 is online now   0 Reply With Quote
Old Dec 8, 2010, 05:23 PM   #3
DarJ
Thread Starter
macrumors newbie
 
Join Date: Apr 2010
Quote:
Originally Posted by gnasher729 View Post
Create a build target that compiles for PowerPC only. Make sure you have Rosetta installed.
Thanks. That did indeed work. I was initially skeptical about the idea for fear that the translation process might be a bit too magical and correct the endian problems, but it didn't, so I can confirm the program needs fixing.

Thanks again.
DarJ is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting 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

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
How do you test for Hitachi 7k500 drive malfunction? whitedragon101 MacBook Pro 0 Nov 16, 2010 09:14 PM
How do I install Warcraft III on an Intel Mac? ravenvii Mac and PC Games 2 Oct 2, 2010 08:38 PM
How do you type a "" on an iPhone? quantum003 iPhone Tips, Help and Troubleshooting 5 May 26, 2010 04:35 PM
How do you keep files sorted on an iPod? barkins iPod 1 Feb 25, 2008 09:40 PM
How do you put NES games on with Intel Mac w/ijailbreak? ll PiStoNs ll iPod touch Hacks 20 Nov 9, 2007 11:23 AM


All times are GMT -5. The time now is 12:33 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC