The compilers take one or more of the following files as input:
- C source files
- C++ source files
- Assembly files
- Object files
- Linker scripts
Note: These files are optional. If they are not specified, the default linker script embedded in the linker (
arm-none-eabi-ldfor Cortex A9,
armr5-none-eabi-ldfor Cortex-R5F, or
aarch64-none-elf-ldfor Cortex-A53) is used.
The default extensions for each of these types are listed in File Types and Extensions. In addition to the files mentioned above, the compiler implicitly refers to the libraries files libc.a, libgcc.a, libm.a, and libxil.a. The default location for these files is the Vivado installation directory. When using the G++ Compiler, the libsupc++.a and libstdc++.a files are also referenced. These are the C++ language support and C++ platform libraries respectively.