|ARM Technical Support Knowledge Articles|
Applies to: BL51 Code-banking Linker/Locator
Information in this article applies to:
I 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?
You 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:
BL51 C:FOO.OBJ TO C:FOO @C:CMD.LIN
Linker Command Files may be created automatically in uVision by performing the following steps (assuming you have a project loaded in):
Article last edited on: 2005-07-15 12:10:06
Did you find this article helpful? Yes No
How can we improve this article?