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 build problem over the FC4.


Dear All,

I have a system running FC4 whose default gcc is 4.0.0.
I hardware I am runnig the FC4 is on Dothan M-CPU, SATA HDD.
I have specific requirement of gcc-3.3.3 over FC4 now. gcc-3.3.3 is
FC2 default gcc.

ATTEMPT 1:
I am trying to install the gcc rpms found in the FC2 CD's.
It looks like the gcc rpm has a check to see whether the installed gcc
is the latest one.
And seeing that installed gcc is the latest one It stops.

What would be a better approach of install the gcc 3.3.3 over my FC4 dist?

ATTEMPT 2:
I also downloaded the gcc 3.3.3 from gcc.gnu.org.I am failing to get
the build successful.
I followed the following steps:

./configure --prefix=/usr/bin
(i got NO errors here)

when I tried to build the gcc using the so generated Makefile.

# make
./read-rtl.c: warning: traditional C rejects ISO C style function definitions
./read-rtl.c: 653: error: invalid lvalue in increment
make[1]: *** [read-rtl.o] Error 1
make[1]: Leaving directory '/root/gcc-3.3.3/gcc'
make[1]: *** [all-gcc] Error 2

Can someone smell the problem?
Do I need to pass any specific arguments to configure script an well as make?


Best Regards,
Mukund Jampala


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