Input Files - 2021.2 English

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

Document ID
Release Date
2021.2 English

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 (mb-ld for MicroBlaze, arm-none-eabi-ld for Cortex A9, armr5-none-eabi-ld for Cortex-R5F, or aarch64-none-elf-ld for 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.