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




On Jul 24, 2006, at 4:12 AM, 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?

Make sure to review (or re-review) the following documentation since it sounds like you don't have the project setup correctly.


<http://developer.apple.com/documentation/MacOSX/Conceptual/ universal_binary/index.html#//apple_ref/doc/uid/TP40002217>

<http://developer.apple.com/documentation/DeveloperTools/Conceptual/ cross_development/UniversalBinaries/chapter_4_section_1.html>

<http://developer.apple.com/documentation/DeveloperTools/Conceptual/ XcodeUserGuide/Contents/Resources/en.lproj/05_07_bs_building_product/ chapter_34_section_6.html>

-Shawn
_______________________________________________
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.