old-www/HOWTO/Bzip2-2.html

80 lines
2.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Bzip2 mini-HOWTO: Getting bzip2</TITLE>
<LINK HREF="Bzip2-3.html" REL=next>
<LINK HREF="Bzip2-1.html" REL=previous>
<LINK HREF="Bzip2.html#toc2" REL=contents>
</HEAD>
<BODY>
<A HREF="Bzip2-3.html">Next</A>
<A HREF="Bzip2-1.html">Previous</A>
<A HREF="Bzip2.html#toc2">Contents</A>
<HR>
<H2><A NAME="get-bzip2"></A> <A NAME="s2">2. Getting bzip2</A></H2>
<P>Bzip2's home page is at
<A HREF="http://www.bzip2.org/">The UK home site</A>. The United States mirror site is
<A HREF="http://www.digistar.com/bzip2/index.html">here</A>.
<P>
<H2><A NAME="ss2.1">2.1 Bzip2-HOWTO in your language</A>
</H2>
<P> French speakers may wish to refer to Arnaud Launay's French documents.
The web version is
<A HREF="http://www.freenix.fr/linux/HOWTO/mini/Bzip2.html">here</A>, and you can use ftp
<A HREF="ftp://ftp.lip6.fr/pub/linux/french/docs/HOWTO/mini/Bzip2.gz">here</A>
Arnaud can be contacted by electronic mail at
<A HREF="mailto:zoro@mygale.org">this address</A><P>
<P> Japanese speakers may wish to refer to Tetsu Isaji's Japanese documents
<A HREF="http://jf.gee.kyoto-u.ac.jp/JF/JF.html">here</A>. Isaji can
be reached at
<A HREF="http://www2s.biglobe.ne.jp/~kaien/">his home page</A>, or by electronic mail at
<A HREF="mailto:isaji@mxu.meshnet.or.jp">this address.</A><P>
<P> Swedish speakers may wish to refer to Linus Ãkerlund's Swedish documents
<A HREF="http://user.tninet.se/~uxm165t/linux_doc.html">here</A>. Linus can
be reached by electronic mail at
<A HREF="mailto:uxm165t@tninet.se">this address.</A><P>
<H2><A NAME="bzip2-binaries"></A> <A NAME="ss2.2">2.2 Getting bzip2 precompiled binaries</A>
</H2>
<P>See the home sites.
<P>
<H2><A NAME="ss2.3">2.3 Getting bzip2 sources</A>
</H2>
<P>They come from the Official sites (see
<A HREF="#get-bzip2">Getting Bzip2</A>
for where.
<P>
<H2><A NAME="ss2.4">2.4 Compiling bzip2 for your machine</A>
</H2>
<P><B>If you have gcc 2.7.*</B>, change the line that reads
<BLOCKQUOTE><CODE>
<PRE>
CFLAGS = -O3 -fomit-frame-pointer -funroll-loops
</PRE>
</CODE></BLOCKQUOTE>
<P>to
<BLOCKQUOTE><CODE>
<PRE>
CFLAGS = -O2 -fomit-frame-pointer
</PRE>
</CODE></BLOCKQUOTE>
<P> that is, replace -O3 with -O2 and drop the -funroll-loops. You may also wish to add any -m* flags (like -m486, for example) you use when compiling kernels.
<P> 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.
<P>After that, just <CODE>make</CODE> it
and install it per the README.
<P>
<HR>
<A HREF="Bzip2-3.html">Next</A>
<A HREF="Bzip2-1.html">Previous</A>
<A HREF="Bzip2.html#toc2">Contents</A>
</BODY>
</HTML>