This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

binutils prerequisites (recent zlib version - what else?)


Hi,

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
`bfd_compress_section_contents':
../../../gcc-4.6.0/binutils/bfd/compress.c:100: warning: implicit
declaration of function `compressBound'
make[7]: *** [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
/usr/include/zlib.h?

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:
../gcc-4.6.0/configure \
  --prefix=/usr/local/exp/gcc-4.6.0/ \
  --enable-languages=c,c++,go

Any hints how to progress or pointers to some documentation I
missed are appreciated.

oki,

Steffen


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]