Probably need to reinstall GCC

brown wrap gramos at yahoo.com
Mon Mar 1 12:14:20 PST 2010


> cat > t.c << "EOF"
> #include <string.h>
> int main(){}
> EOF
> 
> gcc -o t t.c
> 
> If that compiles, the problem is not string.h.
> 
>    -- Bruce
>

It compiles:
oot [ ~/test ]# cat > t.c << "EOF"
> #include <string.h>
> int main(){}
> EOF
root [ ~/test ]# 
root [ ~/test ]# gcc -o t t.c
root [ ~/test ]# ls -l
total 16
-rwxr-xr-x 1 root root 8893 Mar  1 12:13 t
-rw-r--r-- 1 root root   33 Mar  1 12:13 t.c
root [ ~/test ]# 


I had already restored gcc and glibc prior to this test. After that restore I was able to compile again. Something must have been overwritten.




      



More information about the lfs-support mailing list