This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: cannot build gcc 3.2.3 in Suse 10.3 (gcc 4.2.1)
Matteo Rama writes:
> thanks for the reply. It looks like replacing line 662 of read-rtl.c with
> obstack_ptr_grow (&vector_stack, read_rtx (infile));
> doesn't fix the problem. The error is still there:
> ...
> ../../gcc-3.2.3/gcc/read-rtl.c: In function 'read_rtx':
> ../../gcc-3.2.3/gcc/read-rtl.c:662: error: lvalue required as increment operand
> ../../gcc-3.2.3/gcc/read-rtl.c:662:60: warning: C++ style comments are
> not allowed in ISO C90
> ../../gcc-3.2.3/gcc/read-rtl.c:662:60: warning: (this will be reported
> only once per input file)
> make[1]: *** [read-rtl.o] Error 1
> make[1]: Leaving directory `/root/gcc/obj/gcc'
> make: *** [all-gcc] Error 2
Well, you're going to have to fix the code. Feel free to ask us, but
we'll need more information, such as the preprocessed source.
Yeah, I suppose I could try building it myself, but it's not a very
interesting thing to do. I might try a build later.
Andrew.
--
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903