• 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
what's supposed to get stripped?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

what's supposed to get stripped?


  • Subject: what's supposed to get stripped?
  • From: Steve Christensen <email@hidden>
  • Date: Thu, 30 Mar 2006 08:26:01 -0800

I have a bunch of iMovie plug-in projects that I moved from CodeWarrior to Xcode (2.2.1) as part of moving to UB. Since there is a lot of shared code, I first build that as a separate static library that gets linked with all the plug-ins as they are built.

I've been noticing that the plug-in executable size has grown by considerably more than twice the previous PPC-only size. When I say considerable, I mean a 48K PPC-only executable growing to a 196K PPC +Intel executable.

I have dead code stripping turned on as well as symbol stripping (both ld and strip) and even a separate exported symbols file (all I want to export is main). Level of debug symbols is set to full, per Xcode's note that stripping works better that way.

When I run "nm -mg" on a plug-in's executable, I see that there are a lot of extra import symbols when compared with a plug-in built by CodeWarrior. After tracking it down more, it looks like some unreferenced non-virtual class methods are being included and thus dragging along the Mac OS API symbols and any other methods they use.

Am I missing something very basic here, or what? It's frustrating because I can't see anything else to turn on that would strip further.

I have a test project that shows what's happening that I can mail off- list if that will help.

steve

_______________________________________________
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: what's supposed to get stripped?
      • From: Allen Cronce <email@hidden>
  • Prev by Date: Re: std::log10() problem
  • Next by Date: Re: using namespace in xcode and dev-c++
  • Previous by thread: Re: Breaking into debugger with key press while running GUI app
  • Next by thread: Re: what's supposed to get stripped?
  • Index(es):
    • Date
    • Thread