我正在尝试使用编译一些C11代码thread.h,但我不能.我已经重新编译了GCC(现在运行4.6.2),我正在尝试编译gcc -std=c1x file.c -o file.我可以用g ++(使用thread库,即)来做到这一点,但我不能用C.还thread.h没有包含在GCC发行版中吗?
thread.h
gcc -std=c1x file.c -o file
thread
c gcc c11
c ×1
c11 ×1
gcc ×1