Linux 程序用什么 gcc 版本编译

查看用什么gcc版本编译的

 readelf -p .comment /usr/local/python39/bin/python3

 结果:

String dump of section '.comment':
  [     0]  GCC: (GNU) 4.8.5 20150623 (Red Hat 4.8.5-44)
  [    2d]  GCC: (GNU) 11.2.0 

 

 

 

 

参考:

https://blog.csdn.net/weixin_45661908/article/details/123928463

https://blog.csdn.net/mayue_web/article/details/115939103

 

posted @ 2022-10-11 07:26  悟透  阅读(58)  评论(0)    收藏  举报