• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Strip and universal binaries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strip and universal binaries


  • Subject: Re: Strip and universal binaries
  • From: Eric Albert <email@hidden>
  • Date: Wed, 22 Mar 2006 17:41:44 -0800

On Mar 22, 2006, at 5:06 PM, Justin C. Walker wrote:

On Mar 22, 2006, at 16:48 , Eric Christopher wrote:

On Mar 22, 2006, at 4:46 PM, Justin C. Walker wrote:

On Mar 22, 2006, at 16:38 , Mark Thomas wrote:

Hi,
I’m trying to use strip with a universal binary, but it doesn’t seem to work is there a way around this ? Or is a bug ?

Works for me. It would help to what "doesn't seem to work" means.

On PowerPC, I believe that the current developer tools aren't "fully operational" for universal binaries; it works just fine on an Intel Mac.

The developer tools should be fully operational for universal binaries on ppc or i386. If you find a discrepancy please file a bug. :)

Here's where I find a problem. Is this known?

file /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib/
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib/: Mach-O fat file with 2 architectures
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib/ (for architecture ppc64): Mach-O 64-bit dynamically linked shared library ppc64
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib/ (for architecture ppc): Mach-O dynamically linked shared library ppc


On the Intel Macs, this file has 3 architectures represented.

That's not a problem, and it doesn't affect the developer tools either because that's an OS file, not a developer tools file. :)


That's /usr/lib/libSystem.B.dylib, and it's ppc/ppc64 on PowerPC releases of Mac OS X and ppc/ppc64/i386 on Intel releases. We haven't shipped a universal release of Mac OS X today.

To build against universal libraries, we strongly suggest that you use the 10.4 (Universal) SDK on both Intel and PowerPC, or use that SDK for Intel and an earlier one for PowerPC through Xcode's per- architecture SDK support.

This is described on developer.apple.com, in the Universal Binary Programming Guidelines and assorted Xcode documentation.

Hope this helps,
Eric

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Strip and universal binaries (From: Mark Thomas <email@hidden>)
 >Re: Strip and universal binaries (From: "Justin C. Walker" <email@hidden>)
 >Re: Strip and universal binaries (From: Eric Christopher <email@hidden>)
 >Re: Strip and universal binaries (From: "Justin C. Walker" <email@hidden>)

  • Prev by Date: Re: Strip and universal binaries
  • Next by Date: Re: Strip and universal binaries
  • Previous by thread: Re: Strip and universal binaries
  • Next by thread: Re: Strip and universal binaries
  • Index(es):
    • Date
    • Thread