I broke my gcc compiler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux