Solved

Installing gcc 3.1 on Red Hat Linux 6.0

Posted on 2002-07-10
3
452 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
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

760 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now