开发者

how to read the header block gcc compiler put to .o .a and an executable

I'd like to read the header block gcc put to the beginning of all .o .a and executables. In those days, on Solaris, there was an util开发者_JAVA技巧ity for this purpose. On linux, is similar utility available?


Yes. objdump can read an ELF file (be it an executable or a shared object/archive). Other then that, nm and readelf can too, but there are less useful, IMO

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜