Hi, I have got the same error while compiling gcc (gcc-3.2.1) for arm-elf. debian:/tmp/build/gcc# gcc --version gcc (GCC) 4.1.2 20060613 (prerelease) (Debian 4.1.1-5) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Have you some solution for the problem? LOGS - 239 In file included from /root/gnutools/gcc-3.2.1/gcc/rtl.c:24: 240 /root/gnutools/gcc-3.2.1/gcc/rtl.h:125: warning: type of bit-field \xe2\x80\x98code\xe2\x80\x99 is a GCC extension 241 /root/gnutools/gcc-3.2.1/gcc/rtl.h:128: warning: type of bit-field \xe2\x80\x98mode\xe2\x80\x99 is a GCC extension 242 gcc -c -DIN_GCC -DCROSS_COMPILE -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditio nal -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I/root/gnutools/gcc-3.2.1/gcc -I/root/gnutools/gcc -3.2.1/gcc/. -I/root/gnutools/gcc-3.2.1/gcc/config -I/root/gnutools/gcc-3.2.1/gcc/../include /root/gnutools/gcc-3.2.1/gcc/rea d-rtl.c -o read-rtl.o 243 In file included from /root/gnutools/gcc-3.2.1/gcc/read-rtl.c:24: 244 /root/gnutools/gcc-3.2.1/gcc/rtl.h:125: warning: type of bit-field \xe2\x80\x98code\xe2\x80\x99 is a GCC extension 245 /root/gnutools/gcc-3.2.1/gcc/rtl.h:128: warning: type of bit-field \xe2\x80\x98mode\xe2\x80\x99 is a GCC extension 246 /root/gnutools/gcc-3.2.1/gcc/read-rtl.c: In function \xe2\x80\x98fatal_with_file_and_line\xe2\x80\x99: 247 /root/gnutools/gcc-3.2.1/gcc/read-rtl.c:62: warning: traditional C rejects ISO C style function definitions 248 /root/gnutools/gcc-3.2.1/gcc/read-rtl.c: In function \xe2\x80\x98read_rtx\xe2\x80\x99: 249 /root/gnutools/gcc-3.2.1/gcc/read-rtl.c:662: error: invalid lvalue in increment 250 make[1]: *** [read-rtl.o] Error 1 251 make[1]: Leaving directory `/tmp/build/gcc/gcc' 252 make: *** [all-gcc] Error 2 253 make: Leaving directory `/tmp/build/gcc' Thanks in advance, Bhanu Prakash A quantumtp wrote: > > Hi, > > Could somebody suggest me how should I install gcc 3.2 on linux (suse > 10.0)? > > I have gcc 4.0 installed and am getting build errors! Is this expected or > am I doing something wrong? > > regards, > quantum teleporter. > > The build error: > <other compilations messages...> > ... > gcc -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes > -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long > -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I. -I./. -I./config > -I./../include ./read-rtl.c -o read-rtl.o > In file included from ./read-rtl.c:24: > ./rtl.h:125: warning: type of bit-field ‘code’ is a GCC extension > ./rtl.h:128: warning: type of bit-field ‘mode’ is a GCC extension > ./read-rtl.c: In function ‘fatal_with_file_and_line’: > ./read-rtl.c:62: warning: traditional C rejects ISO C style function > definitions./read-rtl.c: In function ‘read_rtx’: > ./read-rtl.c:662: error: invalid lvalue in increment > make[1]: *** [read-rtl.o] Error 1 > make[1]: Leaving directory > `/home/sroy/install/gcc-3.2_install/gcc-3.2/gcc' > make: *** [all-gcc] Error 2 > > > -- View this message in context: http://www.nabble.com/install-gcc-3.2-tf1183030.html#a9180447 Sent from the gcc - Help mailing list archive at Nabble.com.