我刚刚使用编译器选项“-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/