Increased binary size in RedHat 7 using gcc

H . J . Lu hjl@valinux.com
Wed Feb 14 22:35:00 GMT 2001


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)



More information about the Gcc mailing list