C/C++ tips

隐藏

编译选项

查看inlude路径

gcc -v -x c -E /dev/null
  • -v Enable verbose mode
  • -x c Tells GCC that the input is to be treated as C source code
  • -x c++ Tells GCC that the input is to be treated as Cpp source code
  • -E Stop after preprocessing
-----EOF-----

Categories: programming Tags: c tips cpp gcc clang