Re: Library tripled in size with GCC 4.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/15/08, Eric Gorr <mailist@xxxxxxxxxxxx> wrote:
> On Oct 15, 2008, at 4:11 PM, Lawrence Crowl wrote:
> > On 10/15/08, Eric Gorr <mailist@xxxxxxxxxxxx> wrote:
> >
> > > Are there any flags I have missed that might allow the actively
> > > developed library to safely become smaller?
> > >
> >
> > You could try either
> >
> > -femit-struct-debug-reduced
> > -femit-struct-debug-baseonly
> >
> > These options eliminate struct debug information that is usually
> > duplicated.  There are some cases where they will eliminate too much,
> > so you will need to try it in your environment.
>
> I checked the man page for GCC and I didn't see those options mentioned.
>
> Here is more specific information about what I am using:
>
> /usr/bin $gcc-4.2 --version
> i686-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5564)

Oh, sorry, those options appeared in 4.3, not 4.2.

-- 
Lawrence Crowl

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux