Re: [Fresco-devel] huge so's: are they normal?

Diego Sevilla Ruiz <[email protected]> 06 Mar 2003 16:03:06 +0100
Newsgroups gmane.comp.video.fresco.devel
Organization Universidad de Murcia
Message-ID <1046962986.12328.23.camel@neuromancer>
Hi, Andy:

El jue, 06 de 03 de 2003 a las 15:53, Andy Sy escribió:
> ----- Original Message ----- 
> From: "Diego Sevilla Ruiz" <[email protected]>
> To: <[email protected]>
> Sent: Thursday, March 06, 2003 6:20 PM
> Subject: Re: [Fresco-devel] huge so's: are they normal?
> 
> 
> > Yes, I think it's typical.  What compiler are you using?  It turns out
> > that in some versions (I don't know if this is the normal behavior)
> > AC_PROG_CC adds "-g" automatically if it finds the gcc compiler.  Can
> > you check your Fresco's config.status file to see if it contains the
> > "-g" flag?:
> >
> > grep -e "-g" config.status
> >
> > If so, the big size can be caused by the debug flag. Also, you can check
> > the size without debugging information by running split on those huge
> > libraries.  If the size decreases, you're sure it is due to the debug
> > overhead.
> 
> Ack.  Too late to find out now.  I just nuked GCC-2.95.3 and
> installed GCC-3.2.2 on my Slackware box... Thanks for the advice 
> anyway.  I suspect your theory is true and will try it out if 
> the GCC-3.2.2 compiled Fresco so's are still unreasonably big.
> 

OK

> By the way, do you mean strip or split?  I just learned from
> a friend that you can do 'file libxxx.so' to see if an so has
> been stripped or not.
> 

I mean strip.  It removes the debugging part of executables or
libraries.

	Best regards.
	diego

-- 
Diego Sevilla Ruiz -- http://ditec.um.es/~dsevilla/ -- [email protected]
Dep. Ingeniería y Tecnología de Computadores, Facultad de Informática
Univ.de Murcia,Campus Espinardo,30080 Murcia (SPAIN),Tel.+34968367571
lynx -dump http://ditec.um.es/~dsevilla/face |uncompface -X | display
PGP:  http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xC9B964B7
(lambda x,f=lambda x,f:x and x[-1]+f(x[:-1],f):f(x,f))('se.mu@allivesd')