This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
What binutils version is compatible with gcc 3.3 ?
- From: "Mark D. Baushke" <mdb at gnu dot org>
- To: binutils at sources dot redhat dot com
- Date: Tue, 20 May 2003 07:03:35 -0700
- Subject: What binutils version is compatible with gcc 3.3 ?
Hi Folks,
I have tried a number of different combinations in building a
mipsisa32-elf cross compiler.
I was trying to build a merged newlib 1.11.0 + binutils 2.13.2.1 +
gcc-3.3 tree and it seems that there is a fair amount of drift between
the two libiberty versions. This results in not being able to build
the entire tree for one dependency on libiberty or another.
Note: I would like to use 'released' versions of each of newlib,
binutils, and gcc, so I was wondering when you think binutils 2.14 might
be released?
(Also, has the choice been made yet about where to build the c++filt
program?)
I figured that if binutils 2.13.2.1 was not ready, I should try the
latest binutils from cvs. However, the top-of-tree binutils seems to
give problems when merged with gcc 3.3.
Here is what I have tried to do:
mkdir newlib
cd newlib
cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/src checkout \
-r newlib-1_11_0 newlib
cd ..
mkdir binutils
cd binutils
cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/src checkout \
-r binutils-2_14-branch binutils
cd ..
mkdir gcc
cd gcc
cvs -z 9 -d :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc checkout \
-r gcc_3_3_release gcc
cd ..
rm -fr combined
cd newlib/src
find . -print | cpio -pdlm ../../combined
cd ../..
cd binutils/src
find . -print | cpio -pdlmu ../../combined
cd ../..
cd gcc/gcc
find . -print | cpio -pdlmu ../../combined
cd ../..
mkdir obj
cd obj
../combined/configure --target=mipsisa32-elf
gmake
This make will fail due to an undefined reference to lrealpath() when
ld/ld-new is being linked.
When I attempted to swap the order of binutils and gcc in the creation
of the combined directory, then things fail in a different place. In
this case, it is in libgloss while trying to build cygmon.o
../../../../combined/libgloss/mips/cygmon.c:63:18: missing terminating " character
../../../../combined/libgloss/mips/cygmon.c: In function `sysCall':
../../../../combined/libgloss/mips/cygmon.c:64: error: parse error before "move"
../../../../combined/libgloss/mips/cygmon.c:70:69: missing terminating " character
gmake[2]: *** [cygmon.o] Error 1
It may be that I am just using the wrong version of binutils in
conjunction with gcc 3.3, if so, could you let me know what version
I should be using?
Thank you,
-- Mark