This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc with binutils-2.11.2 on solaris
Manfred Hollstein <manfred.h@gmx.net> writes:
> Dan Nicolaescu wrote:
> > On sparc-sun-solaris2.7 the size of unstripped binaries produced by
> > gcc-3.0.4 configured to use binutils-2.11.2 is much smaller than the
> > ones produced by the same compiler configured to use Sun's as and
> > ld.
>
> Did you try binutils-2.12, too?
I wasn't aware that it was released.
But I tried it now.
> I don't know if that affects Solaris,
> but on Linux using -2.12 vs. standard binutils-2.11.90.0.8 on RHL 7.2
> made executables smaller by appr. 10-15%
On sparc-solaris the executables produced when using 2.12 are smaller,
but only marginally so, < 1%