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:
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.