Detect GCC compile-time flags of a binary

前端 未结 4 2039
谎友^
谎友^ 2020-11-30 08:42

Is there a way to find out what gcc flags a particular binary was compiled with?

4条回答
  •  难免孤独
    2020-11-30 09:15

    I'm the one who asked Brian to post this originally. My question had to do with the samba binary. I found out that you can run smb -b to get information on how it was built.

提交回复
热议问题