lscript generate - 2022.1 English

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
Release Date
2022-04-26
Version
2022.1 English

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".