Building gcc 3.0 on gcc 4.0

Tim Prince timothyprince@sbcglobal.net
Sun Sep 10 21:50:00 GMT 2006


korneez stephen wrote:
> Hi!
> I am having problem in building gcc 3.0 in fc4 with gcc 4.0.8.
> When i have the make command the result is like this
> 
> make[1]: Leaving directory `/gcc/build/zlib'
> make[1]: Entering directory `/gcc/build/fastjar'
> make[1]: Leaving directory `/gcc/build/fastjar'
> make[1]: Entering directory `/gcc/build/gcc'
> (cd intl && make all)
> make[2]: Entering directory `/gcc/build/gcc/intl'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/gcc/build/gcc/intl'
> (cd po && make all)
> make[2]: Entering directory `/gcc/build/gcc/po'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/gcc/build/gcc/po'
> gcc -c  -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes 
> -Wmissing-prototypes   -DHAVE_CONFIG_H    -I. -Icp -I/gcc/gcc-3.0/gcc 
> -I/gcc/gcc-3.0/gcc/cp -I/gcc/gcc-3.0/gcc/config 
> -I/gcc/gcc-3.0/gcc/../include /gcc/gcc-3.0/gcc/cp/decl.c -o cp/decl.o
> /gcc/gcc-3.0/gcc/cp/decl.c: In function ‘push_binding_level’:
> /gcc/gcc-3.0/gcc/cp/decl.c:528: error: invalid lvalue in assignment
> /gcc/gcc-3.0/gcc/cp/decl.c: In function ‘pop_binding_level’:
> /gcc/gcc-3.0/gcc/cp/decl.c:584: error: invalid lvalue in assignment
> /gcc/gcc-3.0/gcc/cp/decl.c: In function ‘suspend_binding_level’:
> /gcc/gcc-3.0/gcc/cp/decl.c:599: error: invalid lvalue in assignment
> /gcc/gcc-3.0/gcc/cp/decl.c:621: error: invalid lvalue in assignment
> /gcc/gcc-3.0/gcc/cp/decl.c: In function ‘resume_binding_level’:
> /gcc/gcc-3.0/gcc/cp/decl.c:634: error: invalid lvalue in assignment
> /gcc/gcc-3.0/gcc/cp/decl.c: In function ‘pushdecl_with_scope’:
> /gcc/gcc-3.0/gcc/cp/decl.c:4294: error: invalid lvalue in assignment
> /gcc/gcc-3.0/gcc/cp/decl.c:4296: error: invalid lvalue in assignment
> /gcc/gcc-3.0/gcc/cp/decl.c: In function ‘init_decl_processing’:
> /gcc/gcc-3.0/gcc/cp/decl.c:6405: error: invalid lvalue in assignment
> /gcc/gcc-3.0/gcc/cp/decl.c: In function ‘grokdeclarator’:
> /gcc/gcc-3.0/gcc/cp/decl.c:9932: error: invalid lvalue in assignment
> /gcc/gcc-3.0/gcc/cp/decl.c:9935: error: invalid lvalue in assignment
> /gcc/gcc-3.0/gcc/cp/decl.c: In function ‘start_function’:
> /gcc/gcc-3.0/gcc/cp/decl.c:13472: error: invalid lvalue in assignment
> make[1]: *** [cp/decl.o] Error 1
> make[1]: Leaving directory `/gcc/build/gcc'
> make: *** [all-gcc] Error 2
> 
> 
> I don't know why i am getting errors in making  gcc
The first suspect, when you don't confirm that you have followed 
instructions at gcc.gnu.org, is ...
like maybe you didn't run configure.
How did you choose that relatively unpopular and unreliable version?



More information about the Gcc-help mailing list