<div dir="ltr">I got this solved by using the --use-cc to point to my armcc compiler. ut now another issue:<div><br></div><div><p id="yui_3_16_0_1_1401376834530_4045" class="" style="padding:0px;margin:0.1em 0px;color:rgb(0,0,0);font-family:'times new roman','new york',times,serif;font-size:16px">
<span style="background-color:transparent">I have a build system that actually generated make file and then uses make to compile code. I have inserted scan-build into the generated make file so the make actually is invoked as :</span><br>
</p><p id="yui_3_16_0_1_1401376834530_4045" class="" style="padding:0px;margin:0.1em 0px;color:rgb(0,0,0);font-family:'times new roman','new york',times,serif;font-size:16px;background-color:transparent"><br id="yui_3_16_0_5_1401376834530_39" class="">
</p><p id="yui_3_16_0_1_1401376834530_4045" class="" style="padding:0px;margin:0.1em 0px;color:rgb(0,0,0);font-family:'times new roman','new york',times,serif;font-size:16px;background-color:transparent">llvm/tools/clang/tools/scan-build/scan-build -o $SDE_BIN_DIR --use-cc=$ARMCCWRAP --use-c++=$ARMCCWRAP --use-analyzer $SDE_BIN_DIR/llvm/Debug+Asserts/bin/clang<br id="yui_3_16_0_1_1401376834530_4302" class="">
</p><p id="yui_3_16_0_1_1401376834530_4045" class="" style="padding:0px;margin:0.1em 0px;color:rgb(0,0,0);font-family:'times new roman','new york',times,serif;font-size:16px;background-color:transparent"><br id="yui_3_16_0_5_1401376834530_44">
</p><p id="yui_3_16_0_1_1401376834530_4045" class="" style="padding:0px;margin:0.1em 0px;color:rgb(0,0,0);font-family:'times new roman','new york',times,serif;font-size:16px;background-color:transparent">ARMCCWRAP point to the armcc compiler binary. I get an issue where many of the header files are not detected during the compilation. I want to use the -B option of ccc-analyzer or the -I option of clang to pass this info to scan-build but unsuccessful. Can you help me how with the syntax for these options </p>
<p id="yui_3_16_0_1_1401376834530_4045" class="" style="padding:0px;margin:0.1em 0px;color:rgb(0,0,0);font-family:'times new roman','new york',times,serif;font-size:16px;background-color:transparent"><br id="yui_3_16_0_5_1401376834530_50">
</p><p id="yui_3_16_0_1_1401376834530_4045" class="" style="padding:0px;margin:0.1em 0px;color:rgb(0,0,0);font-family:'times new roman','new york',times,serif;font-size:16px;background-color:transparent">Many thanks.</p>
<p id="yui_3_16_0_1_1401376834530_4045" class="" style="padding:0px;margin:0.1em 0px;color:rgb(0,0,0);font-family:'times new roman','new york',times,serif;font-size:16px;background-color:transparent"><br id="yui_3_16_0_5_1401376834530_55">
</p><p id="yui_3_16_0_1_1401376834530_4045" class="" style="padding:0px;margin:0.1em 0px;color:rgb(0,0,0);font-family:'times new roman','new york',times,serif;font-size:16px;background-color:transparent">Best regards,</p>
<p id="yui_3_16_0_1_1401376834530_4045" class="" style="padding:0px;margin:0.1em 0px;color:rgb(0,0,0);font-family:'times new roman','new york',times,serif;font-size:16px;background-color:transparent">Iniyan</p>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 29, 2014 at 1:49 PM, Iniyan Charles <span dir="ltr"><<a href="mailto:iniyan.charles@gmail.com" target="_blank">iniyan.charles@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="color:rgb(0,0,0);font-family:'times new roman','new york',times,serif;font-size:16px">
Hi,</div><div style="color:rgb(0,0,0);font-family:'times new roman','new york',times,serif;font-size:16px">
<br></div><div style="color:rgb(0,0,0);font-family:'times new roman','new york',times,serif;font-size:16px;background-color:transparent">I am using scan-build in my build.  But an option --no-autoinline is not getting recognised by gcc when scan-build is used along with make.</div>

<div style="color:rgb(0,0,0);font-family:'times new roman','new york',times,serif;font-size:16px;background-color:transparent"><br></div><div style="background-color:transparent">
<font color="#000000" face="times new roman, new york, times, serif" size="3">gcc: error: unrecognized command line option \u2018--no_autoinline\u2019</font><br></div><div style="background-color:transparent"><font color="#000000" face="times new roman, new york, times, serif" size="3"><br>

</font></div><div style="color:rgb(0,0,0);font-family:'times new roman','new york',times,serif;font-size:16px;background-color:transparent">My error is similar to this issue: <a href="http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-May/029945.html" target="_blank">http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-May/029945.html</a></div>

<div style="color:rgb(0,0,0);font-family:'times new roman','new york',times,serif;font-size:16px;background-color:transparent"><br></div><div style="color:rgb(0,0,0);font-family:'times new roman','new york',times,serif;font-size:16px;background-color:transparent">

If you have a solution for this can you please share with me. Thanks in advance.</div><div style="color:rgb(0,0,0);font-family:'times new roman','new york',times,serif;font-size:16px;background-color:transparent">

<br></div><div style="color:rgb(0,0,0);font-family:'times new roman','new york',times,serif;font-size:16px;background-color:transparent">BR/Iniyan</div></div>
</blockquote></div><br></div>