Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dimlylit

macrumors newbie
Original poster
Aug 19, 2011
2
0
I have an Intel mac and an application that is compiled as a universal binary. However, the problem is that it has a dependency on stdlibc++ and won't run if it's distributed to a PowerPC user.

I'm guessing the problem is that the libs on the PowerPC computer aren't universal binaries, can someone tell me whether it's possible to upgrade the ppc libraries to UB libraries on a PowerPC system? If it is possible, is this even recommended, and if so how would be the best way to do this?
 
I have an Intel mac and an application that is compiled as a universal binary. However, the problem is that it has a dependency on stdlibc++ and won't run if it's distributed to a PowerPC user.

I'm guessing the problem is that the libs on the PowerPC computer aren't universal binaries, can someone tell me whether it's possible to upgrade the ppc libraries to UB libraries on a PowerPC system? If it is possible, is this even recommended, and if so how would be the best way to do this?

Universal binary means that the code can run natively on Intel and PPC platforms - read your question again, and try to reformulate it. :)
How have you diagnosed the problem has to do with a dependency?
 
How have you diagnosed the problem has to do with a dependency?
Thanks for replying. The error I was given referenced the library, so it was just a guess that it was a issue with being PPC only. I've since read that universal binaries don't work on PPC if compiled in debug rather than release mode, so I think this is likely to be the problem. Thanks for the help!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.