[GRASS5] Mac OS X Beta 11 - 118MB!

On Saturday, February 10, 2001, at 12:57 PM, Jeshua Lacock wrote:

On Saturday, February 10, 2001, at 12:14 PM, Eric G . Miller wrote:

> On Sat, Feb 10, 2001 at 12:01:56PM -0800, Jeshua Lacock wrote:
> > GRASS-MacOS upload
> >
> > Back on Sun, 19 Nov 2000, Markus wrote:
> > > Hi Jeshua,
> >
> > did you have set the "-s" during compilation?
> >
> > > See attached mail. This is the way to reduce the
> > package size
> > > (hope so).
> >
> > > > On Sat, 18 Nov 2000 Eric wrote: Maybe the -s flag to cc doesn't
> > > > strip symbols? That could account for a
> > > huge increase.
> > > > Also, a lack of shared library support may have things
> > > like
> > > > the math lib, tiff lib, and others included for each binary
> > > > that
> > > requires it.
> >
> > Hi all,
> >
> > Beta 11 has been built and tested with Mac OS X. The GUI works once
> > again!
> >
> > Now the problem is that bindist is HUGE! 118 MB! (My poor, poor 33kb
> > connection...)
> >
> > Where would I set this "-s" flag, in the Makefile, I presume?
>
> src/CMD/head/head.$ARCH:
>
> LDFLAGS = -s
>
> But maybe it isn't supported on Mac OS X? (Drag if that's the case).

Thanks Eric! I just added the -s.

So I suppose I now have to recompile, or can I just do a new "make bindist"?

Ok, well I added the -s, and did a "make distclean", "make", "make install, "make bindist" and shes still an ugly 118 MB.

So I guess I will segment her and start uploading!

Cheers,

Jeshua Lacock
Cartographer/Owner
http://SierraMaps.com
http://3dTopoMaps.com
Telephone: (760) 935-4481
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

On Sat, Feb 10, 2001 at 03:10:30PM -0800, Jeshua Lacock wrote:

Ok, well I added the -s, and did a "make distclean", "make", "make
install, "make bindist" and shes still an ugly 118 MB.

So I guess I will segment her and start uploading!

There's one other thing that will probably reduce the size of the
binaries. In src/CMD/head/head.$(ARCH), remove the "-g" flag from the
COMPILE_FLAGS. The "-g" flag tells the compiler to include debugging
symbols (things which the "-s" flag to the linker would later strip).
It should reduce the size some. Debugging will be impossible (but it is
anyway with the '-s' flag to the linker).

--
Eric G. Miller <egm2@jps.net>

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'