This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How can we find out, which version of compiler is used to generate a binary.

Note: This was originally posted on 27th October 2009 at http://forums.arm.com

Hi All

I have two .out file generated using  ARM 2.0.1 and ARM 4.0.0.

How can i come to know which binary is generated using which
compiler.

Does ARM provide any headers in .out file.  so that i can check for ?

or is there any ARM command which will can brief me about that .out file
with information of version compiler and other version or tools it is built with.

Thanks

Rgds
Kiran
Parents
  • ARM generates an ELF as the output on compilation and linking.

    The compiler options are embedded in the header of the ELF.

    Google "ELF structure" for more information.

    You can use toolchains like "fromelf", "objdump" provided by GCC as well to extract the ELF information and print into the readable format.

Reply
  • ARM generates an ELF as the output on compilation and linking.

    The compiler options are embedded in the header of the ELF.

    Google "ELF structure" for more information.

    You can use toolchains like "fromelf", "objdump" provided by GCC as well to extract the ELF information and print into the readable format.

Children
No data