Mailing Lists: Apple Mailing Lists

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

Universal binary help



Title: Universal binary help
Hello all,

So I’m trying to create  universal binaries that have ppc7400 and ppc970 binaries in the resultant fat binary which is a dynamic library bundle plugin for another app.  FYI, we plug into an app that requires G4 support.

This works just great on Mac OS 10.4.  The 7400 binary is loaded on G4 machines and the 970 binary is loaded on G5 machines.

However, the app that we plug into is supported on Mac OS 10.3.9 too.  Cool enough.  For two of my plugin fat binaries when I run ‘lipo –info’ I get
    ppc7400 ppc970
And because the ppc7400 is listed first (or so I surmise) then my users 10.3.9 are happy because the “lowest common denominator” code is loaded.

However, for one of my fat binaries when I run lipo I get
    ppc970 ppc7400

This means that G4 CPUs running OS 10.3.9 cannot run properly, because it loads the ppc970 binary and promptly displays an error message.

I’ve tried rearranging my input “thin” binaries when I run “lipo –create PPC7400_BINARY PPC970_binary –output resultBinary” but to know avail.

Is there any way that I can force ‘lipo –create’ to not arbitrarily rearrange my input binaries when creating the output fat binary?

Thanks for any tips,
Pete Litwinowicz
http://www.revisionfx.com
 _______________________________________________
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



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.