Solved

Installing gcc 3.1 on Red Hat Linux 6.0

Posted on 2002-07-10
3
464 Views
Last Modified: 2013-12-06
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
0
Comment
Question by:karnovsk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 100 total points
ID: 7144845
I can't claim to have done this on 6.0, but I have built 3.1 on a 6.2 system. What I had to do was to get and build 3.0.3, then use that to build 3.0.4, and finally use that to build 3.1. I had the same problem on Solaris and Irix, so it seems to me that it has more to do with what 3.1 needs as a compiler than with the OS.
0
 

Author Comment

by:karnovsk
ID: 7148316
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"...
0
 

Expert Comment

by:lordxps
ID: 11628874
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
0

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question