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: Executable size increase using egcs 1.0.1 on Solaris 2.6



  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


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