Issues setting up sonarlint on custom build solution

  • Operating system: Windows 10 (unable to build on linux)
  • SonarLint plugin version: v3.12.0
  • Programming language you’re coding in: C
  • Is connected mode used: Not yet, as sonarlint is not working currently, but will be in the future.


We are trying to setup sonarlint on our project which uses custom provided build process (based on armcc, tcc, armlink, fromelf and armar). Current solution does not generate a compilation database file and it appears, that armcc compiler is unable to create this database natively.

I have tried using 3rd party scripts, like compiledb and makefile tools extension in VScode but all of them generate only empty compile_commands.json file.

Is there any other way, how to setup sonarlint without using the compilation database or is there any other independent way to generate such database?

Sidenote - due to our project specifics we are unable to compile our solution on any other plaftorm, other than windows, thus we are unable to use all linux tools…

Thanks in advance,

Eimantas M