Solved

How do I get egcs 2.91.66-5 working?

Posted on 2000-04-21
8
285 Views
Last Modified: 2013-11-08
Any C++, FORTRAN programs come back with the error message
/usr/i386-linux/bin/ld: cannot open crtl1.o: No such file or
directory.
Or: is the compiler working?  No it cannot make executable files.
I have egcs 2.95.2 downloaded and configure as well as I could. I
will not be able to build without a working compiler.  
Here is an example:
/home/.../gcc-2.95.2/configure --host=i586-pc-linux
Created "Makefile" in /home/... using "mt-frag"
/usr/i386-linux/bin/ld: cannot open crtl1.o: No such file or
directory
*** The command 'gcc -o confest -g -02  confest.c failed
*** You must set the environment variable CC to a working compiler.

I used setenv=CC to /usr/bin

I have rpms installed for egcs-2.91.66-5, egcs-c++, egcs-objc, g77.  I am using Caldera OpenLinux 2.3.
0
Comment
Question by:dander063
  • 4
  • 4
8 Comments
 
LVL 1

Expert Comment

by:darkskyz
ID: 2737740
why not get the lastest EGCS rpms from
http://rufus.w3.org/linux/RPM/egcs.html? I reccomend that you get the rawhide versions.
0
 
LVL 1

Expert Comment

by:darkskyz
ID: 2737788
hmm... i just checked, and there are no egcs versions newer than what you have. the reason for this is simply that it was merged back into gcc, and caldera simply got it wrong. there is no egcs-2.91. however, the most recent version of gcc is 2.95.3 and can be downloaded at http://rufus.w3.org/linux/RPM/gcc.html
If you are interested in trying out the nightly snapshots from the development tree, there are RPMs made on Pentium III on http://www.codesourcery.com/gcc-snapshots.html but since you didn't say what cpu you have don't try them unless you have a pentium III. the source for the snapshots is also available from there if you want to compile it. however, remember that the snapshots are development code and may or may not work.

0
 

Author Comment

by:dander063
ID: 2739110
I need to reword my qusetion.
  I would like to use and upgrade egcs. The rpm version of egcs that came with OpenLinux 2.3 I can not get to work.

 The next version of egcs that I downloaded is tar, but won't install without a working compiler.  

I hesitate downloading more rpms without knowing that I could have them working.  This rawhide site looks good though what is the difference between scr.rpm and rpm?
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 1

Expert Comment

by:darkskyz
ID: 2739137
let me explain what I ment:
EGCS was an expiramental attempt to produce a better compiler then gcc. it succedded, and therefor gcc was replaced with egcs, which was renamed gcc. therefore, there is no newer version of egcs- it's now called gcc, and has been for a few months.
the src.rpm files contain the source code for the program, while the i386.rpm, sparc.rpm, ppc.rpm, i586.rpm and so on are binaries for the architecture listed- you didn't say what cpu you have, therefore i am assuming you have an intel based cpu of unknown model, and therefor you should get the i386.rpm (if you have a pentium you can get i586 and if you have pentium ii/iii you can get i686 if available.)
0
 

Author Comment

by:dander063
ID: 2740932
I have a pentium 233Mhz.  I did see egcs-2.91.66-5.scr.rpm on Caldera's CD, but was not able to install them using kpackage.  I will try the i586.
0
 
LVL 1

Accepted Solution

by:
darkskyz earned 100 total points
ID: 2749415
how did it work out with the i586 packages? do they work?
0
 

Author Comment

by:dander063
ID: 2750417
No news yet. I am having a hard time downloading from rpmfind, lots of timeouts.
0
 

Author Comment

by:dander063
ID: 2771697
I have egcs-2.91.66-5 working.  I got some messages at Caldera that discussed the same problem.  The extreme solution was to reinstall as a developer's work station.  Now with a working compiler I can upgrade.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
isEverywhere  challenge 19 77
scoresSpecial  challenge 13 52
BASH script to modify crontab? 3 67
Android development question 2 37
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

809 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