This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]