我只是使用编译器选项“-frecord-gcc-switches”编译代码,以查看编译器自动选择的选项。现在我可以看到.GCC.command.line
部分中的选项。有几个合理的编译器选项,但也有一个我找不到任何文档。 -auxbase-strip png.o
是什么意思。显然它与png.o有关,但它究竟做了什么?
答案 0 :(得分:1)
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源代码(但你不应该在意)。