Could you please confirm if Wind River provided C/C++ diab compiler(6.9 version) is compatible?

Could you please confirm if Wind River provided C/C++ diab compiler(6.9 version) is compatible to use sonarcloud analysis for c/c++ project? If yes, then please let me know which method to use for analysis: Build wrapper or compilation database?

Hey there.

What’s the precise compiler executable? For example: c++arm.exe

Hi Colin,

Please find the below answer:
diab - > compiler name
Power PC 32 bit-> MPC5200 B

Please let me know if this is what is required or anything else?

The compiler executable name is really key here. Like dcc.exe or dplus.exe.

For what it’s worth, I’m pretty sure the answer here is yes. You can choose whether or not to use the build wrapper or compilation database based on your needs.

Hi Colin,

Thanks for the document.

Could you please let me know How/ where I can find compiler executable name?

@Prathiksha_P,

In general, yes. Have a look at the supported-compilers section of the documentation

  • Wind River Diab and GCC compilers

To confirm with certainty that it works with the specific version of your compiler, you can download build-wrapper(link in documentation) and use it to generate a compilation database. If it succeeds in doing so, your compiler is supported.

Have a look at the Choosing the right tool section:

The general recommendation is to use Build Wrapper unless you have a good reason not to.

Thanks,