gcc - "compiler option"-auxbase-strip 有什么作用?

标签 gcc compilation compiler-optimization elf

我刚刚使用编译器选项“-frecord-gcc-switches”编译了代码,以查看编译器自动选择了哪些选项。现在我可以在 .GCC.command.line 部分看到选项。有几个合理的编译器选项,但也有一个我找不到任何文档。 -auxbase-strip png.o 是什么意思。显然它对 png.o 做了一些事情,但它到底做了什么?

最佳答案

谷歌搜索 shows :

Hei Chan:
I am trying to find the document for auxbase and auxbase-strip,
but I can't find any.

Ian Lance Taylor:
They are internal options used to support the -fcompare-debug options.
They are not intended to be used by end users.

因此,如果您真的想知道这个选项的作用,您需要阅读 GCC 源代码(但您不应该关心)。

关于gcc - "compiler option"-auxbase-strip 有什么作用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39596418/

相关文章:

c++ - std::exp(-100.0f) == NaN?

c - scanf GCC for long double

c++ - 为什么 p1007r0 std::assume_aligned 不需要结语?

ios - 此类 Mac 不支持此应用

makefile - gdb编译问题yyin和lexer_init

Java 构造函数与内联字段初始化

最终赋值的 C 循环优化帮助(禁用编译器优化)

c - 与 cygwin 链接

c++ - 如何找出使用 gcc 时实际应用了哪些优化?

ubuntu - 使用 Makefile 调试 CLion [UNIX]