Solved

How do I get egcs 2.91.66-5 working?

Posted on 2000-04-21
8
295 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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

Industry Leaders: 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

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

617 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