Keil Logo

ARM: Detection of Compiler version in use


Information in this knowledgebase article applies to:

  • MDK-ARM all versions
  • C51, all versions

QUESTION

I need to compile and debug an older project with the identical toolchain like before to get the same binary. Is it possible to get this information from the project files?

ANSWER

It is possible to detect the Compiler version in use. There are these solutions:

A: MDK-ARM

  • Edit an object-file:

  • Use fromelf and the option --text at a command window with an object-file:

B: C51

  • Edit a lst-file to see the Compiler version in use:

  • Edit a m51-file to see the Linker version in use:

MORE INFORMATION

  • Refer to --text in the fromelf User Guide.

Last Reviewed: Tuesday, January 23, 2018


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.