开发者

howto examine c++ .o file under linux?

how can i examine a c++ .o file unter linux? is there any开发者_Python百科 program with which i could easy examine it?


objdump is the command to analyze object files.

What do you want to check, exactly?


A .o file is the translated output from compilation. It is not C++, even if the source code that generated it was written in C++. You could get an .o file from the compilation of source of any programming language.

Use objdump to look at .o files.


You could also use the nm command.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜