Link to home
Start Free TrialLog in
Avatar of karnovsk
karnovsk

asked on

Installing gcc 3.1 on Red Hat Linux 6.0

Hi,

I am trying to install gcc 3.1 on my Red Hat Linux 6.0.

'configure' has completed successfully.

When I ran 'bootstrap', I got the following errors:

...
...
...
stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-linux-gnu/bin/ -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE  -o gengenrtl \
 gengenrtl.o ../libiberty/libiberty.a
/usr/bin/ld: gengenrtl: Not enough room for program headers (allocated 6, need 7)
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [gengenrtl] Error 1
make[2]: Leaving directory `/home/downloads/gcc/gcc-build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/home/downloads/gcc/gcc-build/gcc'
make: *** [bootstrap] Error 2
ASKER CERTIFIED SOLUTION
Avatar of jlevie
jlevie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of karnovsk
karnovsk

ASKER

Thank you very much. I have downloaded 3.0.4 and was able to build and install it (I did not start with 3.0.3, because 3.0.4 was supposed to be essentially the same, only with some bug fixes).

Maybe you can help me with my following question,  "Installing glibc 2.2.5  on Red Hat Linux 6.0"...
Hell I need to Install GCC into my linux server I need all steps Please My server is :
Linux magicword.info 2.4.20-020stab009.21.777-enterprise #1 SMP Tue Jun 15 13:21:55 MSD 2004 i686 i686 i386 GNU/Linux


Give me the answer as soon as you can thanks