> 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.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page