最近在做操作系统实验三,编译的的时候,出现下面情况:
加上:-pthread
gcc grep.c -o a.out -pthread
#
gcc -o hello hello.c
gcc hello.c -o hello.out
#.out文件为可执行文件
最近在做操作系统实验三,编译的的时候,出现下面情况:
加上:-pthread
gcc grep.c -o a.out -pthread
#
gcc -o hello hello.c
gcc hello.c -o hello.out
#.out文件为可执行文件