7-Zip for QNX4 and QNX6

Submitted by mario on

7-Zip from http://sourceforge.net/projects/p7zip/ has been ported to QNX4 and QNX6. 7-Zip is a file archiver with highest compression ratio.

http://www.openqnx.com/downloads/7za439Beta_qnx4.tar.gz
http://www.openqnx.com/downloads/7za429Beta_qnx630.tar.bz2

Archives include executables and html documentation.
Just to give you an idea of the level of compression: A 24Meg tar file made up of mostly executable with no debug information (16Meg) and QWindows picture files (8M) got compressed into:

Gzip 7.9 M
Bzip 6.3 M
Rar 3.4 M
7z 2.8 M.

All programs set to maximum compression except 7za which at maximum setting requires a humongous amount of ram (350Meg of free ram wasn`t enough). The windows version can required up to 1G ...

Draw backs; the executables are huge, since they support all sort of other compression standard. It can compress/decompress gzip, bzip2, etc. Other drawback is it can't be use as drop-in replacement for gzip/bzip, it can however read the data from stdin so it's usable from scripts.

The QNX6 port was trivial, but the QNX4 port was very ugly. The program uses threads so I had to use the beta pthread library and I had to "patch" to program to make it work.

For QNX6 non x86 user, the code support big-endian if somebody which to port it to other processors.

This is release 4.29Beta which is fairly recent (October) and quite stable even though it's a beta. I have done very little test on these two ports, only compress/decompress 7z format. Haven`t try handling other compression format.

Option to create SFX (self extracted executable) is not implemented. I may take a stab at it in a short while.