I use Fedora 16 (RedHat) 64bits. I wrote a program named hello.c
int main()
{
}
I compiled it but I got following result:
"
# gcc hello.c
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
"