G++ Host Compiler and Linker Settings - 2021.2 English

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

Document ID
UG1393
ft:locale
English (United States)
Release Date
2021-12-15
Version
2021.2 English
Figure 1. GCC Compiler and Linker Settings

You can open the GCC Compiler and Linker Settings dialog box from the Build Configuration Settings dialog box of a host application project. The arguments for the g++ compiler used by the Vitis core development kit can be accessed under the GCC Host Compiler section of the Toolchain Settings.

Dialect
Specify the command options that select the C++ language standard to use. Standard dialect options include C++ 98, C++ 2011, and C++ 2014 (1Y).
Preprocessor
Specify preprocessor arguments to the host compiler such as symbol definitions. The default symbols already defined include the platform so that the host code can check for the specific platform.
Includes
Specify the include paths and include files.
Optimization
Specify the compiler optimization flags and other optimization settings.
Debugging
Specify the debug level and other debugging flags.
Warnings
Specify options related to compiler warnings.
Miscellaneous
Specify any other flags that are passed to the g++ compiler.

GCC Linker Options

The linker arguments for the Vitis technology G++ Host Linker are provided through the options available here. Specific sections include general options, libraries and library paths, miscellaneous linker options, and shared libraries.