This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
I broke my gcc compiler
- From: "Doug Poulin" <dougp at prostyle dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Tue, 22 Mar 2005 10:47:57 -0800
- Subject: I broke my gcc compiler
Somewhere along the line of adding some new software to my Redhat Linux 6.1
system, the gcc compiler got toasted. I now get the following error when I
try to run it.
/usr/bin/ld: cannot open -lc: No such file or directory
collect2: ld returned 1 exit status
>From looking the Net around I know that the C-Library files are missing.
Fortunately I have another machine running the same OS, but if I need to
know where the C library files are that I need to copy over. I'm not a C
programmer so please be specific when you respond.
The version I'm running is:
Reading specs from /usr/lib/gcc-lib/i386-redhat-Linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
Doug