Unable to install gcc-3.2.3 on RHEL-4 64 bit machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,



 I was trying to install gcc-3.2.3 on RHEL- 4 64 bit machine. While
compiling it gives multiple errors. I was unable to go forward with the
install. But I was able to install the same on RHEL-4 32 bit machine. (I
have downloaded gcc from the site
ftp://ftp.gwdg.de/pub/misc/gcc/releases/gcc-3.2.3/) Can you please advise
me how to do the installation?



Details of RHEL-4 Operating system



Linux hostname 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007 x86_64
x86_64 x86_64 GNU/Linux

Red Hat Enterprise Linux ES release 4 (Nahant Update 5)



I did the following steps for installation



Downloaded gcc-3.2.3.tar.gz



1) tar zxvf  gcc-3.2.3.tar.gz

2) cd gcc-3.2.3

3) mkdir /backup/ithelp/gcc/gcc

4) ./configure --prefix=/backup/ithelp/gcc/gcc

5) make bootstrap



Gives the following errors



checking for executable suffix... (cached) no

checking whether to enable maintainer-specific portions of Makefiles... no

checking for gcc... (cached) /backup/ithelp/gcc/gcc-3.2.3/gcc/xgcc
-B/backup/ithelp/gcc/gcc-3.2.3/gcc/
-B/backup/ithelp/gcc/gcc/x86_64-unknown-linux-gnu/bin/
-B/backup/ithelp/gcc/gcc/x86_64-unknown-linux-gnu/lib/ -isystem
/backup/ithelp/gcc/gcc/x86_64-unknown-linux-gnu/include

checking whether the C compiler (/backup/ithelp/gcc/gcc-3.2.3/gcc/xgcc
-B/backup/ithelp/gcc/gcc-3.2.3/gcc/
-B/backup/ithelp/gcc/gcc/x86_64-unknown-linux-gnu/bin/
-B/backup/ithelp/gcc/gcc/x86_64-unknown-linux-gnu/lib/ -isystem
/backup/ithelp/gcc/gcc/x86_64-unknown-linux-gnu/include -O2 -g -O2 )
works... yes

checking whether the C compiler (/backup/ithelp/gcc/gcc-3.2.3/gcc/xgcc
-B/backup/ithelp/gcc/gcc-3.2.3/gcc/
-B/backup/ithelp/gcc/gcc/x86_64-unknown-linux-gnu/bin/
-B/backup/ithelp/gcc/gcc/x86_64-unknown-linux-gnu/lib/ -isystem
/backup/ithelp/gcc/gcc/x86_64-unknown-linux-gnu/include -O2 -g -O2 ) is a
cross-compiler... no

checking whether we are using GNU C... (cached) yes

checking whether /backup/ithelp/gcc/gcc-3.2.3/gcc/xgcc
-B/backup/ithelp/gcc/gcc-3.2.3/gcc/
-B/backup/ithelp/gcc/gcc/x86_64-unknown-linux-gnu/bin/
-B/backup/ithelp/gcc/gcc/x86_64-unknown-linux-gnu/lib/ -isystem
/backup/ithelp/gcc/gcc/x86_64-unknown-linux-gnu/include accepts -g...
(cached) yes

configure: error: libffi has not been ported to x86_64-unknown-linux-gnu.

make[1]: *** [configure-target-libffi] Error 1

make[1]: Leaving directory `/backup/ithelp/gcc/gcc-3.2.3'

make: *** [bootstrap] Error 2

-bash-3.00$


Thanks,
Prasanth




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux