New zlib commands

atark at thepipeline.net atark at thepipeline.net
Sun Aug 12 17:54:31 PDT 2001


Here is what I think are nicer commands to use for the zlib package.  They 
will only work on x86, but that should not be a problem as the LFS book is 
targeted to x86. 

cp -v contrib/asm`/bin/arch | cut -c 2-`/match.S . &&
CFLAGS="-DASMV $CFLAGS" ./configure --prefix=/usr &&
OBJA=match.o sed "s/(OBJS)$/(OBJS) \$(OBJA)/" Makefile | make -e -f - &&
./configure --prefix=/usr --shared &&
OBJA=match.o sed "s/(OBJS)$/(OBJS) \$(OBJA)/" Makefile | make -e -f - &&
make install &&
cp -av zlib.3 /usr/share/man/man3

--Andy



More information about the blfs-book mailing list