Solved

Installing gcc 3.1 on Red Hat Linux 6.0

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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
blank screen when trying to setup Unity on Ubuntu 14.04 9 56
PHP error function not working on AWS 10 128
Recover Lacie Edmini data. 11 66
SMTP log file for IMSVA 5 35
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…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

733 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