From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: Marat Boshernitsan Cc: egcs@cygnus.com Subject: Re: Executable size increase using egcs 1.0.1 on Solaris 2.6 Date: Tue, 10 Mar 1998 22:15:00 -0000 Message-id: <19043.889593790@hurl.cygnus.com> References: X-SW-Source: 1998-03/msg00391.html In message < tfviupmuk3l.fsf@dogwood.CS.Berkeley.EDU >you write: > > I am seeing a similar problem when compiling our system on RedHat Linux > 5.0 and on Solaris 2.5.1. In my case, the increase is pretty dramatic: > > linux: > -rwxrwxr-x 1 maratb ugrad 6933335 Mar 9 16:38 ensemble* > > solaris: > -rwxrwxr-x 1 maratb ugrad 18007448 Mar 9 16:31 ensemble* > > Stripping the executable produces a somewhat more manageable binaries: > > linux: > -rwxrwxr-x 1 maratb ugrad 1723500 Mar 10 16:34 ensemble.strip* > > solaris: > -rwxrwxr-x 1 maratb ugrad 2391216 Mar 10 16:34 ensemble.strip* Linux: > .stab 2373816 0 > .stabstr 2466949 0 > Total 6634725 About 2/3 of the space for your linux binary is in debug records. Solaris: > .stab.index 24 0 > .stab 3066936 0 > .stab.indexstr 24 0 > .stabstr 12183564 0 > Total 17681768 More than 2/3 of the space in your solaris executable is debug records. jeff