Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How do I get egcs 2.91.66-5 working?

Posted on 2000-04-21
8
Medium Priority
?
302 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
Understanding Linux Permissions

Linux for beginners: How to view the permissions associated with files and directories and also how you can change them.

 
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 300 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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 …
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
This video teaches viewers about errors in exception handling.
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.

719 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