"compiler option" -auxbase-strip 有什么作用?
What does the "compiler option" -auxbase-strip do?
我刚刚使用编译器选项“-frecord-gcc-switches”编译了代码,以查看编译器自动选择了哪些选项。现在我可以看到 .GCC.command.line
部分中的选项。有几个合理的编译器选项,但也有一个我找不到任何文档。 -auxbase-strip png.o
是什么意思。显然它用 png.o 做了一些事情,但它到底做了什么?
Google 搜索 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 源代码(但您不应该关心)。
我刚刚使用编译器选项“-frecord-gcc-switches”编译了代码,以查看编译器自动选择了哪些选项。现在我可以看到 .GCC.command.line
部分中的选项。有几个合理的编译器选项,但也有一个我找不到任何文档。 -auxbase-strip png.o
是什么意思。显然它用 png.o 做了一些事情,但它到底做了什么?
Google 搜索 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 源代码(但您不应该关心)。