This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: merge-with-binutils documentation is wrong/incomplete
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Re: merge-with-binutils documentation is wrong/incomplete
- From: Markus Werle <markus at lufmech dot rwth-aachen dot de>
- Date: Tue, 20 Mar 2001 12:17:24 +0100
- References: <3AB732B8.E5703293@lufmech.rwth-aachen.de>
And - of course - the second option is wrong, too.
No one ever tested this before. I am really fed up with this bullshit.
Of course one has to link the stuff in subdirectories like
./binutils-2.10.1/include/*
to the gcc tree, but files differ/conflict, files are already there.
I come back to my opinion from mid of 2000:
It is the wrong idea to distribute gcc without binutils and to pretend they
are
not connected to each other. What we really need is a COMPLETE
distribution.
We need a gcc-2.95.3-binutils-X.XX-tar.bz with a single
configure; make; make install leading to success.
Just for completeness: My protocol:
After linking all dirs that can be linked, configure succeeds, but
bootstrap dies
116 ln -s ../binutils-2.10.1/gas .
117 ln -s ../binutils-2.10.1/gprof .
118 ln -s ../binutils-2.10.1/binutils .
119 ln -s ../binutils-2.10.1/bfd .
120 ln -s ../binutils-2.10.1/intl .
121 ln -s ../binutils-2.10.1/ld .
122 ln -s ../binutils-2.10.1/opcodes .
[...]
make[3]: Entering directory `/work/markus/GCC/build/bfd'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../gcc-2.95.3/bfd
-I. -D_GNU_SOURCE -DHOST_HPPAHPUX -DHPUX_CORE -I. -I../../gcc-2.95.3/bfd
-I../
../gcc-2.95.3/bfd/../include -I../../gcc-2.95.3/bfd/../intl -I../intl
-g -O2
-c ../../gcc-2.95.3/bfd/archive.c
gcc -DHAVE_CONFIG_H -I. -I../../gcc-2.95.3/bfd -I. -D_GNU_SOURCE
-DHOST_HPPAHPUX
-DHPUX_CORE -I. -I../../gcc-2.95.3/bfd -I../../gcc-2.95.3/bfd/../include
-I../.
./gcc-2.95.3/bfd/../intl -I../intl -g -O2 -c ../../gcc-2.95.3/bfd/archive.c
-o a
rchive.o
In file included from ../../gcc-2.95.3/bfd/archive.c:130:
../../gcc-2.95.3/bfd/sysdep.h:74:24: fopen-same.h: No such file or
directory
In file included from ../../gcc-2.95.3/bfd/archive.c:130:
../../gcc-2.95.3/bfd/sysdep.h:105:23: filenames.h: No such file or
directory
[...]
After linking the include-stuff (not overriding gcc stuff)
[...]
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../gcc-2.95.3/bfd
-I. -D_GNU_SOURCE -DHOST_HPPAHPUX -DHPUX_CORE -I. -I../../gcc-2.95.3/bfd
-I../
../gcc-2.95.3/bfd/../include -I../../gcc-2.95.3/bfd/../intl -I../intl
-g -O2
-c ../../gcc-2.95.3/bfd/archive.c
gcc -DHAVE_CONFIG_H -I. -I../../gcc-2.95.3/bfd -I. -D_GNU_SOURCE
-DHOST_HPPAHPUX
-DHPUX_CORE -I. -I../../gcc-2.95.3/bfd -I../../gcc-2.95.3/bfd/../include
-I../.
./gcc-2.95.3/bfd/../intl -I../intl -g -O2 -c ../../gcc-2.95.3/bfd/archive.c
-o a
rchive.o
In file included from ../../gcc-2.95.3/bfd/archive.c:131:
../../gcc-2.95.3/bfd/libbfd.h:507: parse error before "ATTRIBUTE_NORETURN"
../../gcc-2.95.3/bfd/libbfd.h:507: warning: data definition has no type or
stora
ge class
../../gcc-2.95.3/bfd/archive.c: In function `normalize':
../../gcc-2.95.3/bfd/archive.c:1181: parse error before "ATTRIBUTE_UNUSED"
make[3]: *** [archive.lo] Error 1
make[3]: Leaving directory `/work/markus/GCC/build/bfd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/work/markus/GCC/build/bfd'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/work/markus/GCC/build/bfd'
make: *** [all-bfd] Error 2