Hello, As mentioned on the binutils list, we'd like to add support for --disable-zlib, in order to be able to build a GDB that does not have a dependency on that library: http://www.sourceware.org/ml/binutils/2009-10/msg00600.html This is the sim and gdb part, which needs to be checked in at the same time as the binutils part. sim/ * common/aclocal.m4: Add include of ../../config/zlib.m4. * common/common.m4: Use AM_ZLIB to check for zlib support. * ppc/configure.ac: Likewise. * arm/configure, avr/configure, common/configure, cr16/configure, cris/configure, d10v/configure, erc32/configure, frv/configure, h8300/configure, iq2000/configure, lm32/configure, m32c/configure, m32r/configure, m68hc11/configure, mcore/configure, microblaze/configure, mips/configure, mn10300/configure, moxie/configure, ppc/configure, sh/configure, sh64/configure, v850/configure: Regenerate. gdb/ * acinclude.m4: Include ../config/zlib.m4. * configure.ac: Use AM_ZLIB to check for zlib support. * configure: Regenerate. I tested these changes by building GDB with and without --disable-zlib, and verified that the dependency on libz disappeared in the second case. I'd like to commit in a few days unless there are some objections. Thanks, -- Joel