vscode里用mingw64 gcc编译,之前还可以用,现在突然不能用了,df查看也没有发现100%占用的,怎么解决
已自己解决
嗯。。让人无语的错误,少了一个-,并且存在的那个一个-好像也格式不对,总之重打一遍就好了
嗯。。让人无语的错误,少了一个-,并且存在的那个一个-好像也格式不对,总之重打一遍就好了
仅供参考:
-print-search-dirs Display the directories in the compiler's search path
-print-file-name=<lib> Display the full path to library <lib>
-print-prog-name=<prog> Display the full path to compiler component <prog>
-print-multi-os-directory Display the relative path to OS libraries
-B <directory> Add <directory> to the compiler's search paths
-print-search-dirs Display the directories in the compiler's search path
-print-file-name=<lib> Display the full path to library <lib>
-print-prog-name=<prog> Display the full path to compiler component <prog>
-print-multi-os-directory Display the relative path to OS libraries
-B <directory> Add <directory> to the compiler's search paths
-iprefix <path> Specify <path> as a prefix for next two options
-iwithprefix <dir> Add <dir> to the end of the system include path
-iwithprefixbefore <dir> Add <dir> to the end of the main include path
-isystem <dir> Add <dir> to the start of the system include path
-idirafter <dir> Add <dir> to the end of the system include path
-I <dir> Add <dir> to the end of the main include path
-I- Fine-grained include path control; see info docs
--bootclasspath Replace system path
--classpath Set class path
--CLASSPATH Set class path (deprecated: use --classpath instead)
-I Add directory to class path
-L DIRECTORY, --library-path DIRECTORY
Add DIRECTORY to library search path
Just link symbols (if directory, same as --rpath)
-Y PATH Default search path for Solaris compatibility
-rpath PATH Set runtime shared library search path
-rpath-link PATH Set link time shared library search path
-z nodefaultlib Mark object not to use default search paths
a.使用如下命令行升级数据包和系统文件:
pacman -Syu
b.安装编译器工具链:
pacman -S mingw-w64-x86_64-toolchain
安装完毕,那么环境已经安装完毕。