This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Increased binary size in RedHat 7 using gcc
On Wed, Feb 14, 2001 at 10:36:08PM -0800, Pawan Singh wrote:
> So why does linking with a different library i.e. glibc increase the
> "HelloWorld" program code size? Can someone explain this? How much of the
> code and data in a program like "HelloWorld" are from "glibc".
>
"HelloWorld" is a small program. From what I can tell, the main
size increase comes from crt*.o, which are necessary.
--
H.J. Lu (hjl@valinux.com)