Keil Logo

ARMLINK: function of option "--summary_stderr"


Information in this knowledgebase article applies to:

  • MDK-ARM

QUESTION

In the linker command line string generated by µVision (Options for Target ... -> Linker -> Linker control string) there is an option "--summary_stderr". To understand the complete link step I need to know the function of all the applied linker options, but could not find anything in the manual about "--summary_stderr". What is this option used for?

ANSWER

The only thing this option does is to cause the output of "--info=summarysizes", e. g.:

Program Size: Code=644 RO-data=252 RW-data=0 ZI-data=612

to appear on stderr rather than stdout. Furthermore, the option ignores any --errors option and always prints to stderr rather than redirecting to the file. This is a special requirement for µVision to parse the linker messages correctly and does not influence the generated program image.

Note that this option is enabled by default, when the toolchain is used with a KEIL license.

MORE INFORMATION

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Tuesday, April 4, 2017


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.