How do i resolve this?
[localhost@localhost Code]$ gcc -static -O2 -o out c.c
/usr/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
[localhost@localhost Code]$
How do i resolve this?
[localhost@localhost Code]$ gcc -static -O2 -o out c.c
/usr/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
[localhost@localhost Code]$
You've been here long enough to know that you shouldn't double post.
Compile Error
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.