This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: ping #3: [RFA] Add --with-libz-prefix option in config/zlib.m4
- From: Joel Brobecker <brobecker at adacore dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Binutils <binutils at sourceware dot org>, GDB <gdb-patches at sourceware dot org>
- Date: Thu, 19 Feb 2015 06:42:04 +0400
- Subject: Re: ping #3: [RFA] Add --with-libz-prefix option in config/zlib.m4
- Authentication-results: sourceware.org; auth=none
- References: <20150107144548 dot GX5432 at adacore dot com> <20150218120841 dot GD23529 at adacore dot com> <CAMe9rOp9YQrhwwrmqRa+a-04BNvd+p9_MVgxkiVhgt+6TkDb7g at mail dot gmail dot com>
> Why do you want to turn off zlib? On Linux/x86, zlib is required
> for assembler. At least, you should issue an error when --without-libz
> is used in binutils for Linux/x86 target.
I am trying to do the exact opposite, which is to provide an option
to compile WITH zlib, but using an install at a non-standard location.
> I guess someone has asked it before. Why can't zlib be made the
> same as
>
> --with-mpc=PATH specify prefix directory for installed MPC package.
> Equivalent to --with-mpc-include=PATH/include plus
> --with-mpc-lib=PATH/lib
> --with-mpc-include=PATH specify directory for installed MPC include files
> --with-mpc-lib=PATH specify directory for the installed MPC library
>
> It is more flexible than your patch. If you have some existing packages
> which use your scheme, you can translate the configure command line
> options to this one.
This is fustrating. I already answered that question.
--
Joel