BL51: LONG COMMAND LINES
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 µVision by performing the following steps (assuming you have a project loaded in):
Last Reviewed: Friday, July 15, 2005
of your data.