m23*_*m23 0 linux gcc pthreads
我正在尝试使用命令在linux中编译ac文件
\ngcc filename.c \xe2\x80\x93o filename -Wall -Werror -pthreads -std=c99\nRun Code Online (Sandbox Code Playgroud)\n我收到以下错误
\ngcc: error: \xe2\x80\x93o: No such file or directory\ngcc: error: filename: No such file or directory\ngcc: error: unrecognized command line option \xe2\x80\x98-pthreads\xe2\x80\x99\nRun Code Online (Sandbox Code Playgroud)\n我不知道为什么。有什么解决办法吗?
\n小智 5
你复制粘贴了吗?你的-in-o似乎是一些 unicode 字符:
>>> '\xe2\x80\x93'.encode()\nb'\\xe2\\x80\\x93'\nRun Code Online (Sandbox Code Playgroud)\n尝试手动输入破折号。您的最后一个错误应该通过使用-pthread而不是-pthreads
| 归档时间: |
|
| 查看次数: |
610 次 |
| 最近记录: |