Depending on the target platform, you can either use XRT APIs or an AMD provided Board Support Package (BSP) to write the host code and control the AI Engine and PL kernel
graph TD;
start1["Platform (BSP)"]--->A(ARM GNU Compiler);
start2[main.cpp]--->A(gcc: ARM GNU Compiler);
start3[Sysroot]--->A(ARM GNU Compiler);
A-->End[output.exe];