Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Universal binary doesn't run on PPC



Walter wrote:
I have a universal binary that I built on an Intel machine that works
perfectly on the Intel platform.  On the PPC platform, the app just exits.

How can I figure out what's wrong?

I tried these things:
1.  Building the app for PPC only on a PPC machine: the app works perfectly.

2.  If I attempt to build the universal binary on the PPC, I get build
errors.  The linker can't find many functions such as _CFRelease, _strcat,
_FSRead while linking the Intel portion.  (Xerces-c++ framework from
http://xml.apache.org/xerces-c/, as a universal binary from a PPC machine)
On an Intel machine, the framework builds as a universal binary without any
errors.

Is there something else I should try?


Hi,

By default, the Cross-Develop Using Target SDK is set to Current MacOS, which use Universal on Intel and and not on pcc.
Set it to Universal on the PPC in the Info of the project and everything should work fine.


Hope this helps.


-- Olivier Tristan Ultimate Sound Bank

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Universal binary doesn't run on PPC (From: Walter <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.