|
|||||||||||
Technical Support Support Resources
Product Information |
BL51: Long Command LinesInformation in this article applies to:
QUESTIONI have a large number of directives that I wish to specify when invoking the linker. The list of directives is greater than 128 characters, which is the maximum length allowed for a command line. How do I invoke the linker with a long command line? ANSWERYou can either split your command line over several lines or use a linker Command File. To split the command line over several lines enter as many complete directives as possible followed by an ampersand. The linker will then prompt you to enter more directives with a '>>' sign. To use a linker Command File create a text file ending in .lin with all the directives specified in it. You can use multiple lines as long as each split line ends with an ampersand. When invoking the linker specify the path to the Command File after an '@' sign. Eg:
Linker Command Files may be created automatically in µVision by performing the following steps (assuming you have a project loaded in):
MORE INFORMATION
Last Reviewed: Thursday, February 25, 2021 | ||||||||||
|
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.