clfs:/mnt/clfs/sources$ tar -xf bzip2-1.0.4.tar.gz clfs:/mnt/clfs/sources$ cd bzip2-1.0.4 clfs:/mnt/clfs/sources/bzip2-1.0.4$ clfs:/mnt/clfs/sources/bzip2-1.0.4$ cp -v Makefile{,.orig} `Makefile' -> `Makefile.orig' clfs:/mnt/clfs/sources/bzip2-1.0.4$ clfs:/mnt/clfs/sources/bzip2-1.0.4$ sed -e 's@^\(all:.*\) test@\1@g' Makefile.orig > Makefile clfs:/mnt/clfs/sources/bzip2-1.0.4$ clfs:/mnt/clfs/sources/bzip2-1.0.4$ make CC="${CC} ${BUILD64}" AR="${AR}" RANLIB="${RANLIB}" If compilation produces errors, or a large number of warnings, please read README.COMPILATION.PROBLEMS -- you might be able to adjust the flags in this Makefile to improve matters. Also in README.COMPILATION.PROBLEMS are some hints that may help if your build produces an executable which is unable to correctly handle so-called 'large files' -- files of size 2GB or more. sparc64-unknown-linux-gnu-gcc -m64 -mcpu=ultrasparc -mtune=ultrasparc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c blocksort.c sparc64-unknown-linux-gnu-gcc -m64 -mcpu=ultrasparc -mtune=ultrasparc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c huffman.c sparc64-unknown-linux-gnu-gcc -m64 -mcpu=ultrasparc -mtune=ultrasparc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c crctable.c sparc64-unknown-linux-gnu-gcc -m64 -mcpu=ultrasparc -mtune=ultrasparc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c randtable.c sparc64-unknown-linux-gnu-gcc -m64 -mcpu=ultrasparc -mtune=ultrasparc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c compress.c sparc64-unknown-linux-gnu-gcc -m64 -mcpu=ultrasparc -mtune=ultrasparc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c decompress.c sparc64-unknown-linux-gnu-gcc -m64 -mcpu=ultrasparc -mtune=ultrasparc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c bzlib.c rm -f libbz2.a sparc64-unknown-linux-gnu-ar cq libbz2.a blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o sparc64-unknown-linux-gnu-ranlib libbz2.a sparc64-unknown-linux-gnu-gcc -m64 -mcpu=ultrasparc -mtune=ultrasparc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c bzip2.c sparc64-unknown-linux-gnu-gcc -m64 -mcpu=ultrasparc -mtune=ultrasparc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -o bzip2 bzip2.o -L. -lbz2 sparc64-unknown-linux-gnu-gcc -m64 -mcpu=ultrasparc -mtune=ultrasparc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c bzip2recover.c sparc64-unknown-linux-gnu-gcc -m64 -mcpu=ultrasparc -mtune=ultrasparc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -o bzip2recover bzip2recover.o clfs:/mnt/clfs/sources/bzip2-1.0.4$ clfs:/mnt/clfs/sources/bzip2-1.0.4$ make PREFIX=/tools install if ( test ! -d /tools/bin ) ; then mkdir -p /tools/bin ; fi if ( test ! -d /tools/lib ) ; then mkdir -p /tools/lib ; fi if ( test ! -d /tools/man ) ; then mkdir -p /tools/man ; fi if ( test ! -d /tools/man/man1 ) ; then mkdir -p /tools/man/man1 ; fi if ( test ! -d /tools/include ) ; then mkdir -p /tools/include ; fi cp -f bzip2 /tools/bin/bzip2 cp -f bzip2 /tools/bin/bunzip2 cp -f bzip2 /tools/bin/bzcat cp -f bzip2recover /tools/bin/bzip2recover chmod a+x /tools/bin/bzip2 chmod a+x /tools/bin/bunzip2 chmod a+x /tools/bin/bzcat chmod a+x /tools/bin/bzip2recover cp -f bzip2.1 /tools/man/man1 chmod a+r /tools/man/man1/bzip2.1 cp -f bzlib.h /tools/include chmod a+r /tools/include/bzlib.h cp -f libbz2.a /tools/lib chmod a+r /tools/lib/libbz2.a cp -f bzgrep /tools/bin/bzgrep ln -s -f /tools/bin/bzgrep /tools/bin/bzegrep ln -s -f /tools/bin/bzgrep /tools/bin/bzfgrep chmod a+x /tools/bin/bzgrep cp -f bzmore /tools/bin/bzmore ln -s -f /tools/bin/bzmore /tools/bin/bzless chmod a+x /tools/bin/bzmore cp -f bzdiff /tools/bin/bzdiff ln -s -f /tools/bin/bzdiff /tools/bin/bzcmp chmod a+x /tools/bin/bzdiff cp -f bzgrep.1 bzmore.1 bzdiff.1 /tools/man/man1 chmod a+r /tools/man/man1/bzgrep.1 chmod a+r /tools/man/man1/bzmore.1 chmod a+r /tools/man/man1/bzdiff.1 echo ".so man1/bzgrep.1" > /tools/man/man1/bzegrep.1 echo ".so man1/bzgrep.1" > /tools/man/man1/bzfgrep.1 echo ".so man1/bzmore.1" > /tools/man/man1/bzless.1 echo ".so man1/bzdiff.1" > /tools/man/man1/bzcmp.1 clfs:/mnt/clfs/sources/bzip2-1.0.4$