compress / ncompress package for Cygwin

Tim Prince
Fri Aug 23 14:44:00 GMT 2013

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
> My experience is that the code of ncompress- 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:
Unsubscribe info:

More information about the Cygwin mailing list