1.. _compiler_support: 2 3================ 4Compiler Support 5================ 6 7``LLVM libc`` compiles from both ``Clang`` and ``GCC`` but for maximum 8performance 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-copy 15 16For platforms where only ``GCC`` is natively available but maximum performance 17is required it is possible to bootstrap ``Clang`` with ``GCC`` and then use 18``Clang`` to build the '`libc``" project. 19 20Minimum supported versions 21========================== 22 23 - ``Clang 11`` 24 - ``GCC 12.2`` 25