The following table lists the libraries necessary for the mb_gcc and arm-none-eabi-gcc
compilers.
| Library | Particular |
|---|---|
| libxil.a | Contains drivers, software services (such as XilMFS), and initialization files developed for the Vivado tools. |
| libc.a | Standard C libraries, including functions such as strcmp and strlen. |
| libgcc.a | GCC low-level library containing emulation routines for floating point and 64-bit arithmetic. |
| libm.a | Math library containing functions such as cos and sine. |
| libsupc++.a | C++ support library with routines for exception handling, RTTI, and others. |
| libstdc++.a | C++ standard platform library. Contains standard language classes, such as those for stream I/O, file I/O, string manipulation, and others. |
Both compilers link libraries automatically. If the standard libraries are
overridden, the search path for these libraries must be given to the compiler. Vitis modifies the libxil.a file to add
driver and library routines.