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: dyld: incompatible cpu-subtype



Did you run some kind of "optimizer" program ... ?

No I did not.

I.e. if you do the following in a Terminal....   file /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 

it answers : this :

 /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : symbolic link to 'Versions/Current/CoreFoundation'

... so ?
JP
Le 30 mai 08 à 00:28, Bill Bumgarner a écrit :
On May 29, 2008, at 3:25 PM, turbo3d wrote:
Hi  friends !,

compiling and linking for PPC-G4  on an  MacIntel under XCode 2.5,
every referenced framework being  universal and every path to libraries  correcly pointing to dylibs compiled for PPC-G4 
I get  the dyld: incompatible cpu-subtype  message at launch time.

I dont know of any tool able to dump an .app  for runtime requirements...

How can I know which dylib ( or framework ) is the cause of the trouble  ? ( among 12 dylibs and frameworks  !)

Didn't we just go through this?

Did you run some kind of "optimizer" program that happened to strip all the non-native binaries from your system.... including all of the ppc bits from, say, /System/Library/Frameworks/*.framework/*?

I.e. if you do the following in a Terminal....

file /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 

... does it look like this....

/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation: Mach-O universal binary with 4 architectures
/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation (for architecture ppc7400): Mach-O dynamically linked shared library ppc
/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation (for architecture ppc64): Mach-O 64-bit dynamically linked shared library ppc64
/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation (for architecture i386): Mach-O dynamically linked shared library i386
/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64

.... ?

b.bum



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

This email sent to email@hidden

References: 
 >dyld: incompatible cpu-subtype (From: turbo3d <email@hidden>)
 >Re: dyld: incompatible cpu-subtype (From: Bill Bumgarner <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.