Input Files - 2022.1 English

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

Document ID
UG1400
Release Date
2022-04-26
Version
2022.1 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 is used. The default scripts are as follows:
  • mb-ld for MicroBlaze
  • arm-none-eabi-ld for Cortex A9
  • aarch64-none-elf-ld for Cortex-A53 and Cortex-A72
  • armr5-none-eabi-ld for Cortex-R5F

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.