2016-09-20 213 views
1

我剛剛使用編譯器選項「-frecord-gcc-switches」編譯代碼以查看編譯器自動選擇哪些選項。現在我可以看到.GCC.command.line中的選項。有幾個合理的編譯器選項,但我也找不到任何有關文檔。 -auxbase-strip png.o是什麼意思。很明顯,它對png.o做了些什麼,但它究竟做了什麼?「編譯器選項」-auxbase-strip是做什麼的?

回答

1

谷歌搜索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源(但你不應該關心)。

相關問題