[sldev] [VWR] Bugs in the Mac OS X Source tree

Barney Boomslang bboomslang at googlemail.com
Mon Sep 17 23:21:31 PDT 2007


Hey Erik,

yep, something along that lines. Either a function or debugging stuff
- I am not too sure about it being only code since it bloats the
executable  in a horrific way - I don't think anything has that much
code ;) (and even if it is some data tables or things like that - we
are talking about a tenfold size increase here!)

But what definitely doesn't work is the often talked about strip - it
is actually called in the  project file by default. It's definitely
this option that needs to be set to have decent executable sizes.

bye, Barney

On 9/18/07, Erik Anderson <odysseus654 at gmail.com> wrote:
> If that's like the linux strip, doesn't that simply remove debug symbol
> information from the executable?  The issue here seems to be that if there's
> only a single function (that doesn't reference any other functions) is
> included from an object or library, that all the code from that object or
> library is included.  That's something that only the linker can really
> decide for sure, a post processor to strip out symbol information isn't
> going to understand that half the code in the executable will never be
> used.  In VS.NET this option is known as /OPT:REF
>
>
> On 9/17/07, Ben Byer <bbyer at mm.st> wrote:
> >
> > On Sep 16, 2007, at 11:25 PM, Barney Boomslang wrote:
> >
> > > Oh, I have working versions of both the non-voice and the voice NB
> > > builds. And no, mozilla is not the culprit, it's the way the
> > > executable is linked :)
> > >
> > > I have a rough writedown (mostly for myself, to remember for next
> > > build) of what I did here:
> > >
> > >
> http://radio-boomslang.shacknet.nu/~bb/archives/2007/09/16/index.html#e2007-09-16T19_05_06.txt
> >
> > > open the macviewer.xcodeprj project file in XCode and edit the
> > build options and set "only link essential symbols" in the linking
> > options (otherwise you get giant executables)
> >
> > Errr... try strip(1)?
> > -b
> >
> > _______________________________________________
> > Click here to unsubscribe or manage your list subscription:
> >
> /index.html
> >
>
>
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html
>
>


More information about the SLDev mailing list