This is the mail archive of the
mailing list for the binutils project.
binutils prerequisites (recent zlib version - what else?)
- From: Steffen Dettmer <steffen dot dettmer at googlemail dot com>
- To: binutils at sourceware dot org
- Date: Wed, 20 Apr 2011 14:43:52 +0200
- Subject: binutils prerequisites (recent zlib version - what else?)
I'm trying to build gcc-4.6.0 with binutils-2.21 in the same
source directory which fails with
cc1: warnings being treated as errors
../../../gcc-4.6.0/binutils/bfd/compress.c: In function
../../../gcc-4.6.0/binutils/bfd/compress.c:100: warning: implicit
declaration of function `compressBound'
make: *** [compress.lo] Error 1
(I guess without -Werror it won't link).
Google told that this is a zlib symbol and my zlib would be too
old. Do I need more libraries and stuff?
(Also I'm afraid I could be unable to compile zlib because my
gcc-3.2 is too old...)
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.
Why do I need zlib at all?
Do I have a conflict of ../gcc-4.6.0/zlib/ (which seems to have
strange subdirs only, there is no "unix" or so) and
I think binutils has low prerequisites and wonder why it does
not compile on linux, probably I did something wrong.
I extracted binutils to extracted gcc src dir and symlinked it to
"binutils" and configured gcc:
Any hints how to progress or pointers to some documentation I
missed are appreciated.