[RFA] Add support for --without-zlib (take 2)

Joel Brobecker brobecker@adacore.com
Mon Nov 2 23:23:00 GMT 2009


Here is a new set of patches for both binutils and GDB that introduce
--with-zlib/--without-lib, whose intent it allow someone to a user
the dependency on zlib.

There is no documentation for now, as I just want to make sure that
the option is accepted as is before writing it. Jan Kratochvil has
rewritten most of AM_ZLIB in the new config/zlib.m4 file, so I'll
make sure to put him on the blame list (aka ChangeLog).

Tom: I tried to think about how to integrate ourselves better with
GCC's configure option (--with-system-zlib), but I couldn't think
of anything nice.  I think GCC should have implemented optional
in-tree support the way you did for iconv. For now, I'm still proposing
--with-zlib unless someone offers a better suggestion, which I am
of course willing to implement.

Tested on x86_64-linux (--with-zlib, --without-zlib, default).

I'd like approval on the binutils side.  On the GDB side, I am planning
on checking everything in if there are no objections and the binutils
part is approved.

Thanks,
-- 
Joel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-config.patch
Type: text/x-diff
Size: 941 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20091102/4ef58ba1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-bfd.patch
Type: text/x-diff
Size: 1091 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20091102/4ef58ba1/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-sim.patch
Type: text/x-diff
Size: 2768 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20091102/4ef58ba1/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-gdb.patch
Type: text/x-diff
Size: 1404 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20091102/4ef58ba1/attachment-0003.bin>


More information about the Gdb-patches mailing list