This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]