Generate a linker script.
Syntax
lscript generate [options]
Generate a linker script.
Options
Option | Description |
---|---|
-name <linker script name>
|
Name of the linker script file. Default linkerscript will be "newlscript.ld" if -name not provided. |
-path <path>
|
The directory where the linkerscript needs to be created. Default path will be pwd if -path not provided. |
Returns
Nothing.
Example(s)
lscript generate -name <linkerscript name>
-path <path>
This command generates a linker script with the changes at the path provided. Otherwise, it generates a default linker script with the name "newlscript.ld".