X Tutup

Ccache — a fast C/C++ compiler cache

Supported platforms, compilers and languages

This page collects information on platforms (operating systems), compilers and source code languages that are supported by the latest released ccache version, currently 4.13.1. The information below aims to be correct, but new versions of e.g. an OS or a compiler may introduce new behavior that breaks some of ccache's assumptions.

If you want to contribute new or updated information, please open an issue or maybe even create a pull request for the web site repository.

Support levels

Level Description
A Supported. Built and tested regularly and before new releases. High attention to bug reports.
B Partially supported. Not part of the test procedure before a new release, but known to work in many scenarios. Bug fixing and testing might depend on contributions from the community.
C Not officially supported. Has known compatibility gaps. May work in some scenarios

Run-time support (i.e., using ccache)

Platforms

Level Platform Notes
A Linux (GNU/Linux) Regularly tested on Ubuntu 22.04 and 24.04
A macOS (OS X) Regularly tested on macOS 14
A Windows native Regularly built with Mingw-w64 and tested on Windows 2025
B Windows with MSYS2
B Other Unix-like platforms See also the ccache page on Repology

Want to add or correct something? Open an issue.

Compilers

Level Compiler Notes
A GCC
A Clang See separate entry for clang-cl below
A MSVC (Microsoft Visual C++)
A NVCC (Nvidia CUDA compiler)
B Intel C++ compiler (ICX/ICC/ICPC)
B Other GCC-like compilers
B Some EDG-based compilers, e.g. GHS (Green Hills)
B clang-cl (MSVC compatibility for Clang)
B icx-cl (MSVC compatibility for ICX)
C ISPC (Intel Implicit SPMD Program Compiler)
C TASKING VX-toolset for TriCore (ctc, cctc) See ccache PR #942

Want to add or correct something? Open an issue.

Source code languages

Level Language Notes
A Assembler (.s, .sx, .S) .sx and .S are assembler with a C preprocessor pass
A C (.c)
A C header (.h) For precompilation
A C preprocessed (.i)
A C++ (.cc, .cpp, .cp, .cxx, .c++, .C) Also uppercase variants of extensions
A C++ header (.hh, .hpp, .hp, .hxx, .h++, .H) For precompilation; also uppercase variants of extensions
A C++ preprocessed (.ii)
A CUDA (.cu)
B Objective-C (.m)
B Objective-C preprocessed (.mi)
B Objective-C++ (.mm, .M)
B Objective-C++ preprocessed (.mii)
C CUDA header (.cuh)

Want to add or correct something? Open an issue.

Build-time support (i.e., building ccache itself)

Platforms

Level Platform Notes
A Linux (GNU/Linux) Regularly tested on Ubuntu 22.04 and 24.04
A macOS (OS X) Regularly tested on macOS 14
A Windows native with Mingw-w64 Regularly tested on Windows 2025
B Other Unix-like platforms See also the ccache page on Repology
B Windows with MSYS2
B Windows native with MSVC (Microsoft Visual C++)

Want to add or correct something? Open an issue.

Compilers

Level Compiler Notes
A GCC GCC 8+
A Clang Clang 9+
B Other C++17 compilers on Unix-like systems
B MSVC (Microsoft Visual C++)

Want to add or correct something? Open an issue.

X Tutup