lfs bugs and/or changes

Donald Smith dss-lfs at cfl.rr.com
Sun May 11 20:53:57 PDT 2003

Zack Winkles wrote:
> Gerard Beekmans (gerard at linuxfromscratch.org) wrote:
>>>11. Build proper zlib libraries. The reasoning behind this is the exact
>>>   same as that of libbz2, but the procedure is a bit more involved. The
>>>   following commands do what we need:
>>>	CFLAGS="$CFLAGS -fPIC" ./configure --prefix=/usr --shared
>>>	make
>>>	make install
>>>	make clean
>>>	./configure --prefix=/usr
>>>	make
>>>	make install
>>Is it just asthetics or is there also a 20% or so slowdown in using static 
>>libraries like you claimed for bzip2?

I just built zlib-1.1.4 today and found that a static lib is not built 
when doing --shared and vice versa. So It does need to be built twice 
with the make clean in between. Also I did not need to specify the 
CFLAGS before the ./configure as --shared took care of that (at least it 
did for me).

Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message

More information about the lfs-dev mailing list