|[ Home | Documentation | Downloads ]|
Other Languages: This HOWTO has been translated into quite a few languages. Your best bet is to search online, eg. "bzip2 <your-language>". A good starting place is www.ibiblio.org.
There are various precompiled binaries on the bzip2 website: http://www.bzip.org/downloads.html.
The bzip2 website has a list of source tarballs. See http://www.bzip.org/downloads.html.
If you have gcc 2.7.*: change the line that reads:
CFLAGS = -O3 -fomit-frame-pointer -funroll-loops
CFLAGS = -O2 -fomit-frame-pointer
that is, replace -O3 with -O2 and drop the -funroll-loops. You may also wish to add any -m* flags (for example, like -m486) you use when compiling kernels.
Avoiding -funroll-loops is the most important part, since this will cause many gcc 2.7's to generate wrong code, and all gcc 2.7's to generate slower and larger code. For other compilers (lcc, egcs, gcc 2.8.x) the default CFLAGS are fine.
After that, just make it and install it per the README.
Copyright © 1996 - 2017 email@example.com
Hosting kindly donated by Mythic Beasts