This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: binutils prerequisites (recent zlib version - what else?)
- From: Steffen Dettmer <steffen dot dettmer at googlemail dot com>
- To: binutils at sourceware dot org
- Date: Tue, 26 Apr 2011 16:52:31 +0200
- Subject: Re: binutils prerequisites (recent zlib version - what else?)
- References: <BANLkTi=mS+p-kDS=PDe5Lx9wxwhYK3tykQ@mail.gmail.com>
On Wed, Apr 20, 2011 at 2:43 PM, <steffen.dettmer@googlemail.com> wrote:
> ../../../gcc-4.6.0/binutils/bfd/compress.c:100: warning: implicit
> declaration of function `compressBound'
> [...]
> I looked http://gcc.gnu.org/install/prerequisites.html and
> ../gcc-4.6.0/binutils-2.21/configure --help|grep zlib
> but did not find --disable-zlib or alike.
Just in case someone else ever looks for the same, here a small update:
I found it here:
$ src/gcc-4.6.0/binutils/bfd/configure --help|grep zlib
--with-zlib include zlib support (auto/yes/no) default=auto
> Why do I need zlib at all?
It is explained in src/gcc-4.6.0/binutils/bfd/configure.in:
...
# Link in zlib if we can. This allows us to read compressed debug sections.
# This is used only by compress.c.
AM_ZLIB
...
So for now the additional configure option `--with-zlib=no'
should avoid (or workaround?) my issue.
I assume that when zlib is installed, then at least some "recent"
version must be installed, because there is no
`--with-zlib=internal' or alike, is this correct?
I noticed that gcc has an option `--with-system-zlib', so in
total I would need --with-system-zlib=no, but if I understand
correctly this is not supported by binutil/bfd.
Did I understand correctly?
oki,
Steffen