Usage - 2023.2 English

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
Release Date
2023.2 English
Note: Cortex®-R5F and A53 toolchains can be used in a similar way.


arm-none-eabi-gcc -c file1.c -I<include_path> -o file1.o
arm-none-eabi-gcc -c file2.c -I<include_path> -o file2.o


arm-none-eabi-gcc -Wl,-T -Wl,lscript.ld -L<libxil.a path> -o 
"App.elf"file1.o file2.o -Wl,--start-group,-lxil,-lgcc,-lc,--end-group

For descriptions of flags used in the commands above, refer to the compiler help, using any of the following commands:

  • --help
  • -v --help
  • --target-help

Compiler Options

Other GNU compiler options that can be applied using Arm® -related flags can be found on the GNU website. These flags can be used in the steps above, as required. All the Arm® GCC compiler options are listed at the link above. However, actual support depends on the target in use (Arm Cortex-A9, Cortex-A53, Cortex®-A72, and Cortex-R5F in this case) and on the compiler toolchain.