25 lines · plain
1.. _compiler_support:2 3================4Compiler Support5================6 7``LLVM libc`` compiles from both ``Clang`` and ``GCC`` but for maximum8performance we recommend using ``Clang``.9 10Indeed, some memory function implementations rely on `compiler intrinsics`__11that are not currently available in ``GCC``.12As such we cannot guarantee optimal performance for these functions.13 14.. __: https://clang.llvm.org/docs/LanguageExtensions.html#guaranteed-inlined-copy15 16For platforms where only ``GCC`` is natively available but maximum performance17is required it is possible to bootstrap ``Clang`` with ``GCC`` and then use18``Clang`` to build the '`libc``" project.19 20Minimum supported versions21==========================22 23 - ``Clang 11``24 - ``GCC 12.2``25