[GRASS5] Re: GRASS 5.3 windows

Glynn Clements glynn.clements at virgin.net
Wed Jun 30 04:05:34 EDT 2004


Markus Neteler wrote:

> > > >Just curious: Did you ever try
> > > > make strip
> > > >to make smaller binaries? Or are they already stripped?
> > > 
> > > I ran 'make strip' and then 'make bindist' The binaries are almost 
> > > identical in size to the binaries without 'make strip'. This is logical 
> > > given that I did not build with debugging information, but it does not 
> > > explain why the 5.3 binaries are so large.
> > >    5.0 ~35MB
> > >    5.3 ~67MB
> > >    5.7 ~27MB
> > > All built with CFLAGS="-O2"
> > 
> > Richard: Perhaps you could post the configure parameters.
> 
> does anyone have an idea?

The obvious first guess is static libraries. If one of the core
libraries (e.g. libgis) is pulling in an extra static library, that
could make a big difference.

Try running "nm" on a sample binary (in etc/bin/cmd) for 5.0 and 5.3. 
If the 5.3 version has a larger list of defined symbols, that suggests
that it includes additional static libraries.

How is the space distributed? Normally, almost all of it should be
accounted for by the etc/bin/cmd directory. If the bin directory is
significant, that suggests that it contains copies of etc/front.end
rather than links.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-dev mailing list