problems building gcc3.2 on suse 10.1

Paul Gayle ldnblk@yahoo.co.uk
Thu Aug 30 18:19:00 GMT 2007


Hi there,
I am trying to build gcc 3.2 on a suse 10.1 system
using gcc 4.1.0. I downloaded the tarball, unpacked
it, and tried to build it by issuing the following:
~/gcc-3.2/configure --prefix=/usr/local/gcc/3.2

That seems to have gone ok. but when I issue the make
bootstrap commands, things seem to be going ok until a
series of warnings are given:

/home/ldnblk/gcc-3.2/gcc/rtl.h:125: warning: type of
bit-field ‘code’ is a GCC extension
/home/ldnblk/gcc-3.2/gcc/rtl.h:128: warning: type of
bit-field ‘mode’ is a GCC extension
/home/ldnblk/gcc-3.2/gcc/read-rtl.c: In function
‘fatal_with_file_and_line’:
/home/ldnblk/gcc-3.2/gcc/read-rtl.c:62: warning:
traditional C rejects ISO C style function definitions
/home/ldnblk/gcc-3.2/gcc/read-rtl.c: In function
‘read_rtx’:
/home/ldnblk/gcc-3.2/gcc/read-rtl.c:662: error:
invalid lvalue in increment
make[2]: *** [read-rtl.o] Error 1
make[2]: Leaving directory
`/home/ldnblk/gcc-3.2/gccbuild/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory
`/home/ldnblk/gcc-3.2/gccbuild/gcc'
make: *** [bootstrap] Error 2


Can anyone point me in the right direction in solving
this problem.

thanx

Paul




      ___________________________________________________________ 
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  http://uk.promotions.yahoo.com/forgood/environment.html



More information about the Gcc-help mailing list