*BSD News Article 66638


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!usenet.eel.ufl.edu!news.mathworks.com!fu-berlin.de!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Is there a make-tree flag for compressing binaries?
Date: 21 Apr 1996 21:24:22 GMT
Organization: Private FreeBSD site, Dresden
Lines: 31
Message-ID: <4le926$f8r@uriah.heep.sax.de>
References: <4l8ad8$bn4@plains.nodak.edu>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6

ortmann@plains.nodak.edu (Daniel Ortmann) writes:
>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?
>
>- Is this coming in a future release?

The binary on the fixit floppy is zipped by default.

Nothing else.

It's not a generally useful method either, in particular it wastes
some VM.  It's most likely useful for a laptop with too much RAM :)
and a too small disk.

I don't think anybody is going to make larger parts of the system
auto-installed as zipped binaries.

(In case you wonder why it is wasting VM: the executable cannot be
demand-paged from the disk file, since it must be unpacked into some
temporary storage [VM] first.)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)