我正在尝试使用下面的命令在linux中编译一个c文件。gcc filename.c –o filename -Wall -Werror -pthreads -std=c99 我收到以下错误 gcc: error: –o: No such file or directorygcc: error: filename: No such file or directory
gcc: error: unrecognized command line option ‘-pthreads
prhs[]) //validate input/output arguments
然后我得到以下错误:Building with 'gccWarning: You are using gcc version '4.8.2'. The version of gcc is not supported.Warning: You are using gcc version '4
现在它可以在Linux上编译,但是在OpenBSD上我得到了一个错误,我不明白。)set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -L/usr/local/include/ -L/usr/include -std=c99openshell/main.c:337:6: note: the ABI of passing struct with a flexible array member has changed in