V++ Compiler and Linker Settings - 2023.1 English

Vitis Unified Software Platform Documentation: Application Acceleration Development (UG1393)

Document ID
UG1393
Release Date
2023-07-17
Version
2023.1 English
Figure 1. V++ Compiler Settings

You can open the V++ Compiler Settings dialog box from a hardware kernel project Build Configuration Settings dialog box. The V++ Kernel Compiler settings shows the v++ command used during compilation, and any additional options that must be passed when calling the v++ command for the kernel compilation process. The v++ command options can be symbols, include paths, or miscellaneous valid options.

Symbols
Click Symbols under Vitis compiler to define any symbols that are passed with the –D option when calling the v++ command.
Includes
To add include paths to the Vitis compiler, select Includes and click the Add () button.
Miscellaneous
Vitis specific settings, such as the Vitis compiler and linker flags, which are not part of the standard C/C++ tool chain, can be added as flags in the Miscellaneous section. For more information on the available compiler options, refer to v++ Command.
Figure 2. V++ Linker Settings

You can open the V++ Linker Settings dialog box from a hw_link project Build Configuration Settings dialog box. The V++ Linker Settings shows the v++ command used during linking, as well as any additional options to be passed when calling the v++ command for the kernel linking process.

Any additional options that need to be passed to the Vitis compiler can be added as flags in the Miscellaneous section. For more information, refer to v++ Command for the available options in the linking process.