This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc-3.2.3 installation failed on RHEL5 -64 bit machine


Hi,

I am unable to install gcc-3.2.3 on RHEL5 64 bit machine. While compiling
it gives multiple errors. (I have downloaded gcc from the site
ftp://ftp.gwdg.de/pub/misc/gcc/releases/gcc-3.2.3/). Can you please
suggest me a method for installation.

Details of RHEL5 OS

 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64
GNU/Linux
Red Hat Enterprise Linux Server release 5.2 (Tikanga)


I tried the following steps
---------------------------------------------------------------------------
1) tar xvf gcc-3.2.3.tar
2) cd gcc-3.2.3
3) ./configure --prefix=/picobuild/ithelp/gcc
4) make bootstrap

Gives the following errors

gcc -c -DIN_GCC    -g  -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 rtl.c -o rtl.o
In file included from 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
gcc -c -DIN_GCC    -g  -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[2]: *** [read-rtl.o] Error 1
make[2]: Leaving directory `/picobuild/ithelp/gcc-3.2.3/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/picobuild/ithelp/gcc-3.2.3/gcc'
make: *** [bootstrap] Error 2

----------------------------------------------------------------------------

1) tar xvf gcc-3.2.3.tar
3) mkdir /picobuild/ithelp/gcc
4) cd /picobuild/ithelp/gcc-3.2.3
2) ./configure --prefix=/picobuild/ithelp/gcc --enable-languages=c++
3) make bootstrap

Gives the following errors

gcc -c -DIN_GCC    -g  -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 rtl.c -o rtl.o
In file included from 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
gcc -c -DIN_GCC    -g  -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[2]: *** [read-rtl.o] Error 1
make[2]: Leaving directory `/picobuild/ithelp/gcc-3.2.3/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/picobuild/ithelp/gcc-3.2.3/gcc'
make: *** [bootstrap] Error 2

---------------------------------------------------------------------------

Thanks
Prasanth



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]