This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: big binary
- To: "Martin Rosenstein" <rosen054 at gold dot tc dot umn dot edu>, <egcs at cygnus dot com>
- Subject: Re: big binary
- From: "Pavel Tzekov" <paveltz at csoft dot bg>
- Date: Fri, 12 Jun 1998 12:23:59 +0300
- Reply-To: "Pavel Tzekov" <paveltz at csoft dot bg>
-----Original Message-----
From: Martin Rosenstein <rosen054@gold.tc.umn.edu>
To: egcs@cygnus.com <egcs@cygnus.com>
Date: 12 ήνθ 1998 γ. 15:28
Subject: big binary
>hi: i built the latest snapshot of egcs on an alpha rh5.0. both with gcc
>2.7.2.3 and an earlier egcs (redhat rpm) release and binutils 2.8.0.1.23.
>the resulting executables are 5meg+ in size. i wonder about this-though
>they seem to compile ok and the compiled binaries seem to run ok.
>i built with --disable-haifa and --enable-shared. there were several
>compile warnings during each build.
>the redhat rpm egcs executables are 1.7meg or so.
>i am just curious about the size differences.
I suppose that RedHat provides their distribution with stripped executables
... try strip --strip-debug /path-to-egcs-binaries/cc1
and cc1plus cc1obj for cplusplus and objective c