Compilation of Host Code: - 2025.1 English - XD098

Vitis Tutorials: Getting Started (XD098)

Document ID
XD098
Release Date
2025-06-17
Version
2025.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–2025 Advanced Micro Devices, Inc.

Terms and Conditions