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: Huge cpp executables -- why?



  In message <Pine.LNX.4.04.9902252322100.5058-100000@gches.goodnet.com>you wri
te:
  > Hello:
  > 
  > First the good news.  I've successfully compiled and installed glibc-2.2
  > and the Linux 2.2.2 kernel on an i586 machine using the 1.1.2 pre 1
  > release.  However, a hello world type C++ program produces a 400K
  > executable, even with -fno_exeptions -O.
  > 
  > size reports
  > 
  >    text	   data	    bss	    dec	    hex	filename
  >   47069	  15704	    504	  63277	   f72d	a.out
  > 
  > Is this expected?
If the image is 400k, but the sizes you've show above are accurate, then
either you symbol table is really big, or you have debugging information
in your executable.

Neither of which actually effect the runtime behavior of the program.

jeff


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