Solved

How do I get egcs 2.91.66-5 working?

Posted on 2000-04-21
8
292 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
[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
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
countClumps  challenge 10 233
Python - ImportError: No module named 'urllib2' 2 536
Problem to page 4 105
Why  my code (program) build with old compiler? 11 146
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…
Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
This video teaches viewers about errors in exception handling.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

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