How do you test for powerpc on an Intel?

Discussion in 'Mac Programming' started by DarJ, Dec 8, 2010.

  1. DarJ macrumors newbie

    Apr 7, 2010
    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.

  2. gnasher729 macrumors P6


    Nov 25, 2005
    Create a build target that compiles for PowerPC only. Make sure you have Rosetta installed.
  3. DarJ thread starter macrumors newbie

    Apr 7, 2010
    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.

Share This Page