• 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: "Justin C. Walker" <email@hidden>
  • Date: Mon, 27 Mar 2006 14:48:41 -0800


On Mar 24, 2006, at 20:52 , Steve Checkoway wrote:


On Mar 22, 2006, at 4:46 PM, Justin C. Walker wrote:
On Mar 22, 2006, at 16:38 , Mark Thomas wrote:
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.

I find that I can extract i386 and ppc from a UB, strip all three, recombine the i386 and ppc and if I compare file sizes alone, the stripped UB is slightly smaller (by less than 1500 bytes) than the one lipoed together. When I diff the outputs of nm -arch ppc (and i386) of the two files, they are the same. This is all done on my G5, so it seems that the tools are fully operational for me (at least strip, and nm).

I think this thread has run its course, but for completeness: the only point I was making (and not very well, at that) is that I can build a universal binary (i386/ppc/ppc64) on a MacBook, just using something like
gcc -o foo foo.c -arch ...
while on a PowerPC box, I have to get into SDK builds.


Not a major issue, but, unless I'm missing something, the two platforms aren't at parity yet, for a developer.

Regards,

Justin

--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
My wife 'n kids 'n dogs are gone,
I can't get Jesus on the phone,
But Ol' Milwaukee's Best is my best friend.
-----------


_______________________________________________ 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
  • Follow-Ups:
    • Re: Strip and universal binaries
      • From: Chris Espinosa <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: Steve Checkoway <email@hidden>)

  • Prev by Date: compilation inconsitencies
  • Next by Date: Re: Accelerated Obj-C Dispatch on Intel Only
  • Previous by thread: Re: Strip and universal binaries
  • Next by thread: Re: Strip and universal binaries
  • Index(es):
    • Date
    • Thread