The Zlib example resides in the L2/tests/zlibc_16KB directory. Follow the build instructions to generate the host executable and binary. The binary host file generated is named “xil_zlib”, and it is present in the ./build directory.