bzip2(Under construction)

A high-quality data compressor

Compilation (V1.0.5,V.10.6)

The source text comes with a simple and efficient Makefile (much better than the usual configure crap, IMHO), designed for gcc.
Use
make clean
make
make install PREFIX=/tmp/bzip2-1.0.5  # example for a destination directory
For the native compilers on various platforms the Makefile has to be modified as follows.

AIX

Modify the Makefile:
CC=cc
CFLAGS=-O2 -D_LARGE_FILES $(BIGFILES) # -DBZ_NO_STDIO for zip support? 

HP-UX

9.x

Modify the Makefile:
CC=cc
CFLAGS=-O -Aa +e -D_XPG2 -D_INCLUDE_POSIX_SOURCE -D_INCLUDE_HPUX_SOURCE -D_INCLUDE_XOPEN_SOURCE -D_INCLUDE_AES_SOURCE +z

Configuration


Usage

For "files too large" the following circumventions are possible:
cat largefile.bz2 | bunzip2 > largefile
bzip2 -dc largefile

Last update: 13-May-2013, M.Kraemer

Impressum Data privacy protection