Hi all: <br>     When i build Rtems using Clang there is a problem i encounter. It seems that it is related with configuration which can not probe the right CC.<br>My configure command is :<br>----------------------------------------------------------------------------------------------------------------------------------------------------<br>
CPU=i386<br>../rtems/configure --target=${CPU}-rtems4.11 --with-newlib \<br>  --prefix=/sdb1/rtems-llvm/rtems-install \<br>  CC_FOR_BUILD="clang " \<br>  CC_FOR_TARGET="clang -ccc-host-triple ${CPU}-rtems4.11 -ccc-gcc-name ${CPU}-rtems4.11-gcc "<br>
-----------------------------------------------------------------------------------------------------------------------------------------------------<br>And it is OK, configure log is attached (named c.log)<br>Then i make RTEMS_BSP="pc386", it will failed when execut c/src/lib/libbsp/i386/pc386/tools/configure. I see the c/src/lib/libbsp/i386/pc386/tools/config.log<br>
, when it check the build i686-pc-linux-gnu-gcc it using CC_FOR_TARGET. So this is absolutely wrong.<br>I also attached make log (named b.log) and c/src/lib/libbsp/i386/pc386/tools/config.log.<br><br>Wenjie<br>Best Regards<br>
<br><br><span class="hb"><span class="g2"></span> </span><div class="ajy"><img class="ajz" id=":as" tabindex="0" src="images/cleardot.gif" alt=""></div>