Compilation of Host Code: - Compilation of Host Code: - 2026.1 English - XD098

Vitis Tutorials: Getting Started (XD098)

Document_ID
XD098
Release_Date
2026-07-20
Version
2026.1 English

Once the application code is ready and verified, we will now compile the host code using the “aarch64-linux-gnu-g++”. Please refer to the Host_srcs/Makefile to access the full command.

aarch64-linux-gnu-g++ host.cpp -I<required_include> <gcc_flags> <sysroot> -o host.exe

The above command will generate an executable host.exe that we will use in the Vitis packager to generate the necessary files to boot the device and run the above host code application.

Next Chapter: Use Vitis Linker and Packager to build the design


Copyright © 2020–2026 Advanced Micro Devices, Inc.

Terms and Conditions