<div dir="ltr">Hello all,<div><br></div><div>I am trying to run the Clang Static Analyzer on my autoconf project with the following commands:</div><div><br></div><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>autoreconf -ifs</div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>scan-build ./configure --host=arm-none-eabi --enable-platform=my-platform</div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>scab-build --keep-cc --analyzer-target=arm-none-eabi -v -v -v make</div><div><br></div></blockquote>I would expect these to commands to build my project with the ARM cross compiler (gcc-based), but instead it still tries to build with the default gcc compiler, which obviously fails. I followed the instructions I found here:</div><div><br></div><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><a href="https://clang-analyzer.llvm.org/scan-build.html#recommended_autoconf">https://clang-analyzer.llvm.org/scan-build.html#recommended_autoconf</a>  <br></div></blockquote></div><div><br></div><div>Does anyone know what I'm missing?</div><div><br></div><div>Thank you,</div><div>Dave</div></div>