开发者

howto examine c++ .o file under linux?

开发者 https://www.devze.com 2023-02-04 00:51 出处:网络
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.

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

精彩评论

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