Sonar scan Provided compiler is not compatible?

Hey,
Wanted to use sonar scan for a cross compiler. But when running got

WARN  Provided compiler is not compatible.
Invalid probe found, skip analysis of files: [/file.cpp]
The compiler probe 'stdout' is expected to contain at least one'#define' directive:

and It gave following error at the end

INFO  Detected compilers: arm-xilinx-eabi-g++.real=77;arm-xilinx-eabi-gcc.real=4
01:37:53.431 INFO  Detected standards: 
01:37:53.438 INFO  0/93 files marked as unchanged
01:37:53.438 INFO  Analysis cache: 0/0 hits, 124 bytes
01:37:53.438 INFO  Incremental symbolic execution cache: 0 hits out of 0 total analyzed targets (hit rate 0%)
01:37:53.480 ERROR Error during SonarScanner Engine execution
java.lang.IllegalStateException: The "build-wrapper-dump.json" file was found but 0 C/C++/Objective-C files were analyzed. Please make sure that:
  * you are using the latest version of the build-wrapper and the CFamily analyzer
  * you are correctly invoking the scanner with correct configuration
  * your compiler is supported
  * you are wrapping your build correctly
  * you are wrapping a full/clean build
  * you are providing the path to the correct build-wrapper output directory
  * you are building and analyzing the same source checkout, absolute paths must be identical in build and analysis steps

Any way to run scan for this cross compiler?

Hello @VivekYadav393, and welcome to our community,

We have in our backlog a ticket about the Xilinx compiler, because indeed we have trouble capturing the compilation with build wrapper

It should still be possible to analyze the project if you can provide a compilation database directly generated by your build system.
For instance, CMake has the option CMAKE_EXPORT_COMPILE_COMMANDS.

Please, let me know if this helps or if you need further assistance.