I'm trying to compile a .c file, but whenever I call gcc filename.c, I get the following error:
c:/mingw/bin/../lib/gcc/mingw32/5.3.0/../../../../mingw32/bin/ld.exe: cannot find -lpthread
collect2.exe: error: ld returned 1 exit status
[Finished in 0.3s]
The file has no syntax error, or anything like that.
What can be the problem?