This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Huge cpp executables -- why?
- To: "Geoffrey T. Cheshire" <gtc at gches dot goodnet dot com>
- Subject: Re: Huge cpp executables -- why?
- From: Jeffrey A Law <law at hurl dot cygnus dot com>
- Date: Fri, 26 Feb 1999 01:28:20 -0700
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
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