ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/12/04:33:26

From: Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Why not to use 'tar' before packing DJGPP?
Date: Tue, 12 Nov 1996 08:54:25 +0100
Organization: Lehrstuhl fuer Stroemungsmechanik
Lines: 40
Message-ID: <32882D30.167E@LSTM.Ruhr-UNI-Bochum.De>
References: <32823D97 DOT 44DD AT sabat DOT tu DOT kielce DOT pl> <3282A82E DOT 7EE7 AT cs DOT com> <55vapk$s4l AT news DOT ox DOT ac DOT uk> <32841395 DOT 48F6 AT cs DOT com> <847735694 DOT 6203 DOT 0 AT abwillms DOT demon DOT co DOT uk>
NNTP-Posting-Host: bvb.lstm.ruhr-uni-bochum.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Alaric B. Williams wrote:
> 
[...]
> ZIPing that file, PKZIP would notice the repeated "Hello World", and
> probably replace each copy of it with a two byte escape sequence. And
> the .tar file headers will be mostly the same (size of file, probably
> most of the filename (test1,test2,test3...), etc) and produce immense
> compression.
> 
> Neither ZIP nor TAR alone can compress the files themselves. The whole
> is greater than the sum of the parts!
> 
Just to jump into that thread:
With the real mode ``unzip'' you can make a self-extracting
executable. I'm not quite sure if this works with the djgpp
version. So what comes to my mind is something like a 
self-extracting  djtar with built-in gzip. I'm not sure if this
works, because you'll have to skip the real-mode stub, the
coff part and then untar/unzip the rest of the .EXE. 
And, maybe most important, you'll have to ship the DPMI provider
somehow...

But combinig this you get the good overall compression rates
_and_ easy-to-use installing.

-- 
Ciao
Tom

*************************************************************
* Thomas Demmer                                             *
* Lehrstuhl fuer Stroemungsmechanik                         *
* Ruhr-Uni-Bochum                                           *
* Universitaetsstr. 150                                     *
* D-44780  Bochum                                           *
* Tel: +49 234 700 6434                                     *
* Fax: +49 234 709 4162                                     *
* Voice/Fax Box: +49 2561 91371 2056                        *
* http://www.lstm.ruhr-uni-bochum.de/~demmer                *
*************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019