免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 942 | 回复: 0
打印 上一主题 下一主题

Solaris Developer Quiz April 25, 2007 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-01-18 13:13 |只看该作者 |倒序浏览
Which utility lists the dynamic dependencies of executable files or shared objects?
a) ld.so.1
b) crle
c) ldd
d) pvs


The correct answer is c.

'ldd' lists the dynamic dependencies of executable files or shared objects. 'ldd' uses the runtime linker, to generate the diagnostics.  The runtime linker takes the object being inspected and prepares the object as would occur in a running process. By default, 'ldd' triggers the loading of any lazy dependencies.

'ld.so.1' is the runtime linker for dynamic objects. Dynamic applications consist of one or more dynamic objects. As part of the  initialization and execution of a dynamic application, an interpreter is called. This interpreter completes the  binding of the application to its shared object dependencies. In Solaris, this interpreter is referred to as the runtime linker.

'crle' provides for the creation and display of a runtime  linking  configuration file. The configuration file is read and interpreted by the runtime linker, 'ld.so.1', during process start-up.

'pvs' displays any internal version information contained  within  an  ELF  file.  Commonly, these files are dynamic executables and shared objects, and possibly relocatable objects.

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/27174/showart_467072.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP