Solved

How do I get egcs 2.91.66-5 working?

Posted on 2000-04-21
8
270 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
 
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
java constructor error 8 88
busybox bash/ash - bash -x | grep 19 91
Specific format 21 144
C# code editing and collaboration 3 49
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 purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.
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.

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

20 Experts available now in Live!

Get 1:1 Help Now