admin管理员组文章数量:1558058
https://access.redhat/solutions/959473
How can I know the gcc version which is used to compile a certain rpm package ?
SOLUTION UNVERIFIED - 已更新 2014年六月17日10:56 -
English
环境
- Red Hat Enterprise Linux All Versions
问题
How can I know the gcc version which is used to compile a certain rpm package ?
决议
- Step 1. Download the related debuginfo package.
Let's take bind as an example: bind-debuginfo-9.8.2-0.17.rc1.el6_4.4 - Step 2. Install the debuginfo package.
Raw
# rpm -ivh bind-debuginfo-9.8.2-0.17.rc1.el6_4.4.x86_64
- Step 3. Execute the following
readelf
command
Raw
# readelf -p ment /usr/lib/debug/usr/sbin/named.debug
String dump of section 'ment':
[ 0] GCC: (GNU) 4.4.6 20120305 (Red Hat 4.4.6-4)
[ 2c] GCC: (GNU) 4.4.7 20120313 (Red Hat 4.4.7-3)
本文标签: VersiongcccompilePackagerpm
版权声明:本文标题:How can I know the gcc version which is used to compile a certain rpm package ? 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/xitong/1727340982a1109406.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论