# 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;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.meterian.io/languages-support/c++/gcc-clang-linux.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
