help-gplusplus
[Top][All Lists]
Advanced

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

Re: Size of binaries produced by GCC on SPARC/Solaris8


From: Jesse
Subject: Re: Size of binaries produced by GCC on SPARC/Solaris8
Date: Fri, 19 Nov 2004 17:26:28 +0100

Sorry, I omitted to say that I am using g++3.3.2
And you can reach me at jean-christophe dot cota at eurocontrol dot int
Regs,
JC.

"Jesse" <jc@nospam.org> wrote in message
news:cnl6mh$lim$1@saphir.eurocontrol.fr...
> Hi all,
>
> I can see that the compiler is producing very large binaries (compared to
> SUN's FORTE) when I include symbols (-g). When I strip them, then the size
> is decreased substantially....
>
> ...well, more than substantially: I have a case where a shared library has
a
> size of 47 MB with symbols, and when stripped it is reduced to 1 MB !!
>
> Generally the ratio is around 20:1
>
> What's the problem with debug symbols ? Even using -g1 the gain in size is
> negligeable: 2 to 3 %.
>
> I guess this could be due to the way my GCC is built. I am using the
binary
> package from sunfreeware.
>
> Any idea ?
>
> Many thanks in advance,
>
> JC.
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]