在我的主.c中,我有int cursor = 0;。cursor' referenced in section .text' of main.o: defined in discarded section .bss'of main.o
我对使用GCC还比较陌生。我以前用过MSVC,但我从来没有遇到过这样的错误。有什
我对“强大”的定义是自定义能力。Stop after the preprocessing stage; do not run the compiler proper.msvc: ???Stop after the stage of compilation proper; do not assemble.
gcc: -S
为了准确分析应用程序,在linux下,建议通过用于gcc或g++的编译选项-O2 -g对应用程序进行优化和调试符号。这使得分析能够包含用户的C++代码,而不是指向程序集代码作为可能的热点。在Visual中,对于分析器的使用,等效的编译/链接选项是什么?在Visual的发布模式下,在默认加载的“完整程序优化”属性表下,Debug Information Format将被设置