> For the complete documentation index, see [llms.txt](https://docs.meterian.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.meterian.io/languages-support/c++/gcc-clang-linux.md).

# GCC / CLANG (Linux)

The experimental support for GCC/CLANG can be enabled using the `--scan-gcc` flag. In this configuration the scanner will require the presence of dependency files (".d" files). The gcc/clang compiler can emit a “.d” file (short for dependency): each .d file lists all of the #include-ed headers your .c or .cpp file pulled in during pre-processing.&#x20;

To get GCC or Clang to emit `.d` files as part of your normal build,  just add the -MD flag to your gcc/clang compile instruction. After that, you can simply launch Meterian with the additional `--scan-gcc` flag in order for it to identify all system and external libraries.&#x20;

The support is at the moment limited to Debian or RedHat based builds/&#x20;
