This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compress / ncompress package for Cygwin


On 08/23/2013 10:11 AM, Hubert Garavel wrote:

Contrary to most Unix-like operating systems, Cygwin does not have
the /bin/compress command installed by default and has no package
to install it on demand. Cygwin has an uncompress command (that relies
on gunzip), but no compress command to make genuine .Z files.

This would be certainly easy to solve, using the work of the Ncompress
project at http://ncompress.sourceforge.net/

My experience is that the code of ncompress-4.2.4.4 compiled perfectly
using a GCC 3 cross-compiler targeted to Mingw:
    $CC_WIN32-gcc -DDOS -D_IBMR2 compress42.c -o compress.exe

It is likely that compiling with Cygwin would be even easier.

Interesting reading about how compress returned to public domain 9 years ago after being restricted in in various ways for 20 years (and there remain some hidden restrictions). I think it's an exaggeration to say most unix-like systems ignored those restrictions.

--
Tim Prince


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]