cd zlib-1....
env CC=arm-linux-gcc ./configure \
--prefix=/usr/local/cross/gcc-3.3.4_glibc-2.3.2/ --shared
make
make install
cd ../libpng...
env CFLAGS="-I/usr/local/cross/gcc-3.3.4_glibc-2.3.2/include" \
LDFLAGS="-L/usr/local/cross/gcc-3.3.4_glibc-2.3.2/lib" \
./configure --host=arm-linux \
--prefix=/usr/local/cross/gcc-3.3.4_glibc-2.3.2/
make
make install
|