Upgrading stdclib to UB on PowerPC

Discussion in 'Mac Programming' started by dimlylit, Aug 19, 2011.

  1. dimlylit macrumors newbie

    Joined:
    Aug 19, 2011
    #1
    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?
     
  2. lloyddean macrumors 6502a

    Joined:
    May 10, 2009
    Location:
    Des Moines, WA
    #2
    Like you I'm to lazy to look so perhaps you should?

    <http://opensource.apple.com/release/mac-os-x-107/>
     
  3. LostSoul80 macrumors 68020

    LostSoul80

    Joined:
    Jan 25, 2009
    #3
    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?
     
  4. dimlylit thread starter macrumors newbie

    Joined:
    Aug 19, 2011
    #4
    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!
     

Share This Page