checking if a binary compiled with “-static”

后端 未结 3 1729
独厮守ぢ
独厮守ぢ 2021-02-19 05:20

I have a binary file in linux. How can I check whether it has been compiled with \"-static\" or not?

3条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-19 06:11

    You can also use the file command (and objdump could also be useful).

提交回复
热议问题