Building GCC 3.0 on GCC 4.1.0

TJ22 tejj@hotmail.com
Thu Aug 31 05:12:00 GMT 2006


I am trying to build GCC 3.0 on my suse 10.1 machine that has gcc 4.1.0.  I
need it to check backwards compatibility with some readers I have written. 
Is is crashing on me:


gcc -I../../gcc-3.0/gcc/cp -I../../gcc-3.0/gcc/config
-I../../gcc-3.0/gcc/../include ../../gcc-3.0/gcc/cp/decl.c -o cp/decl.o
../../gcc-3.0/gcc/cp/decl.c: In function ‘push_binding_level’:
../../gcc-3.0/gcc/cp/decl.c:528: error: invalid lvalue in assignment
../../gcc-3.0/gcc/cp/decl.c: In function ‘pop_binding_level’:
../../gcc-3.0/gcc/cp/decl.c:584: error: invalid lvalue in assignment
../../gcc-3.0/gcc/cp/decl.c: In function ‘suspend_binding_level’:
../../gcc-3.0/gcc/cp/decl.c:599: error: invalid lvalue in assignment
../../gcc-3.0/gcc/cp/decl.c:621: error: invalid lvalue in assignment
../../gcc-3.0/gcc/cp/decl.c: In function ‘resume_binding_level’:
../../gcc-3.0/gcc/cp/decl.c:634: error: invalid lvalue in assignment
../../gcc-3.0/gcc/cp/decl.c: In function ‘pushdecl_with_scope’:
../../gcc-3.0/gcc/cp/decl.c:4294: error: invalid lvalue in assignment
../../gcc-3.0/gcc/cp/decl.c:4296: error: invalid lvalue in assignment
../../gcc-3.0/gcc/cp/decl.c: In function ‘init_decl_processing’:
../../gcc-3.0/gcc/cp/decl.c:6405: error: invalid lvalue in assignment
../../gcc-3.0/gcc/cp/decl.c: In function ‘grokdeclarator’:
../../gcc-3.0/gcc/cp/decl.c:9932: error: invalid lvalue in assignment
../../gcc-3.0/gcc/cp/decl.c:9935: error: invalid lvalue in assignment
../../gcc-3.0/gcc/cp/decl.c: In function ‘start_function’:
../../gcc-3.0/gcc/cp/decl.c:13472: error: invalid lvalue in assignment
make[1]: *** [cp/decl.o] Error 1
make[1]: Leaving directory `/root/applications/gcc-3.0-build/gcc'
make: *** [all-gcc] Error 2


Can anyone provide assistance?
Thanks.

-- 
View this message in context: http://www.nabble.com/Building-GCC-3.0-on-GCC-4.1.0-tf2192848.html#a6068531
Sent from the gcc - Help forum at Nabble.com.



More information about the Gcc-help mailing list