libtool的 [英] libtool

查看:70
本文介绍了libtool的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有


是否可以使用libtool在c中编码可执行文件,列出共享/静态库中的

符号?有人可以展示一个例子吗?


提前谢谢

Dear All

Is it possible to code in c using libtool an executable that list the
symbols in shared/static libraries? Could someone show an example?

thanks in advance

推荐答案

Neil Morris< ne *** *******@virgin.netwrites:
Neil Morris <ne**********@virgin.netwrites:

是否可以使用libtool编写一个可执行文件来列出

共享/静态库中的符号?有人可以举个例子吗?
Is it possible to code in c using libtool an executable that list the
symbols in shared/static libraries? Could someone show an example?



没有便携式C解决方案。如果您使用的是类Unix系统,请尝试在comp.unix.programmer中询问
;否则,尝试一个新闻组,

处理你的系统。


-

Keith Thompson(The_Other_Keith) ks *** @ mib.org < http://www.ghoti.net/~kst>

Nokia

我们必须做点什么。这是事情。因此,我们必须这样做。

- Antony Jay和Jonathan Lynn,是部长

There''s no portable C solution. If you''re using a Unix-like system,
try asking in comp.unix.programmer; otherwise, try a newsgroup that
deals with your system.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
Nokia
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"


2008年9月15日23:26,Keith Thompson写道:
On 15 Sep 2008 at 23:26, Keith Thompson wrote:

Neil Morris< ne ********** @ virgin.netwrites:
Neil Morris <ne**********@virgin.netwrites:

>是否可以使用libtool在c中编码一个列出共享/静态库中
符号的可执行文件?有人可以举个例子吗?
>Is it possible to code in c using libtool an executable that list the
symbols in shared/static libraries? Could someone show an example?



没有便携式C解决方案。


There''s no portable C solution.



当然,这完全是胡说八道。


所需要的只是解析二进制文件,这可以完成

100%便携式C.


OP可以在GNU binutils中查看nm的源代码,用于

示例: http://www.gnu.org/software/binutils/

Of course, this is complete nonsense.

All that is required is to parse a binary file, and this can be done in
100% portable C.

The OP could check out the source code to nm in the GNU binutils, for
example: http://www.gnu.org/software/binutils/


Antoninus Twink写道:
Antoninus Twink wrote:

2008年9月15日23:26 ,Keith Thompson写道:
On 15 Sep 2008 at 23:26, Keith Thompson wrote:

> Neil Morris< ne ********** @ virgin.netwrites:
>Neil Morris <ne**********@virgin.netwrites:

>>是否可以使用libtool在c中编码一个列出共享/静态库中
符号的可执行文件?有人可以举个例子吗?
>>Is it possible to code in c using libtool an executable that list the
symbols in shared/static libraries? Could someone show an example?


没有便携式C解决方案。

There''s no portable C solution.



当然,这完全是胡说八道。


所需要的只是解析二进制文件,这可以完成

100%便携式C.


Of course, this is complete nonsense.

All that is required is to parse a binary file, and this can be done in
100% portable C.



相同的代码可用于解析所有的共享/静态库

的C实现?如何建立一个统一的库文件格式

?什么时候?通过谁?谁负责执行任何人b / b $ b可能否则敢于定义新的,不兼容的库文件格式?

他们是如何摆脱使用的所有遗留系统的?不同的文件

格式?

The same code can be used to parse shared/static libraries on all
implementations of C? How was a single uniform library file format
established? When? By whom? Who''s responsible for executing anyone who
might otherwise dare to define a new, incompatible library file format?
How did they get rid of all of the legacy systems using different file
formats?


这篇关于libtool的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆