*BSD News Article 66969


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!inquo!in-news.erinet.com!bug.rahul.net!rahul.net!a2i!samba.rahul.net!rahul.net!a2i!olivea!grapevine.lcs.mit.edu!newsie.dmc.com!news.zipnet.net!usenet
From: mi@aldan.algebra.com (Mikhail Teterin)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Is there a make-tree flag for compressing binaries?
Date: 25 Apr 1996 01:38:29 GMT
Organization: Aldan at Newton Upper Falls
Lines: 23
Message-ID: <4lml2l$9g9@news.zipnet.net>
References: <4l8ad8$bn4@plains.nodak.edu>
Reply-To: mi@ALDAN.algebra.com
NNTP-Posting-Host: ip40-max1-bos.zipnet.net
X-Newsreader: knews 0.9.6
In-Reply-To: <4l8ad8$bn4@plains.nodak.edu>
To: ortmann@plains.nodak.edu (Daniel Ortmann)

Honorable Daniel Ortmann
      wrote on 19 Apr (in article <4l8ad8$bn4@plains.nodak.edu>):
=The LINT kernel config file has a pseudo-device to "#Exec gzipped a.out's",
=but I don't see any gzip or compress flags in files in /usr/share/mk/
=or in /etc/make.conf.
=
=- What is the correct way to specify that binaries are automatically
=  installed as compressed?

That just means, that you can compress your executable with gzip, and
still run it. Loader will recognize, that the binary is compressed, and
uncompress it on the fly. I use(d) this option for Xserver:
	/usr/X11R6/bin/X -> /usr/X11R6/bin/XFD86_SVGA.gz
for netscape:
	netscape.bin.gz

And others. Very nice thing, let's you compensate lack of space with
time (the faster the CPU, the better). Try it...

	-mi
-- 
	"Windows for dummies"