<div dir="ltr">I tried both hard and hardfp. They both returned 3 errors:<br><br>C compiler cannot create executables   Hello      -1   Configure Problem<br>in `/home/kevinthefire/workspace/Hello':   Hello      -1   Configure Problem<br>make: *** No rule to make target `all'.   Hello          C/C++ Problem<br><br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-09 23:12 GMT-07:00 Nicolas Dechesne <span dir="ltr"><<a href="mailto:nicolas.dechesne@linaro.org" target="_blank">nicolas.dechesne@linaro.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Oct 9, 2014 at 10:27 PM, Wy kevinthesun <<a href="mailto:kevinthesunwy@gmail.com">kevinthesunwy@gmail.com</a>> wrote:<br>
> It seems that Yocto 1.5.1 is built with hard float. However, the 1.51, 1.6<br>
> and 1.62 toolchains are soft float. When I tried to set<br>
> "-mfloat-abi=hardfp" in the compile option, the compiling process ran into<br>
> error. It seems these toolchains don't support hard float? How can I solve<br>
> this problem?<br>
><br>
> These are my set in the environment file of 1.5.1 toolchain:<br>
> export CC="arm-poky-linux-gnueabi-gcc -march=armv5te -marm<br>
> -mthumb-interwork -mfloat-abi=hardfp<br>
> --sysroot=/opt/poky/1.5.1/sysroots/armv5te-poky-linux-gnueabi"<br>
> export CXX="arm-poky-linux-gnueabi-g++Â -march=armv5te -marm<br>
> -mthumb-interwork -mfloat-abi=hardfp<br>
> --sysroot=/opt/poky/1.5.1/sysroots/armv5te-poky-linux-gnueabi"<br>
> export CPP="arm-poky-linux-gnueabi-gcc -EÂ -march=armv5te -marm<br>
> -mthumb-interwork -mfloat-abi=hardfp<br>
> --sysroot=/opt/poky/1.5.1/sysroots/armv5te-poky-linux-gnueabi"<br>
><br>
> It ran into error.<br>
<br>
<br>
</span>maybe because the gcc documentation says -mfloat-abi=hard, not =hardfp ?<br>
<br>
in general, showing us the error you have is much preferred, otherwise<br>
it's difficult to help if we don't really know what went wrong.<br>
<br>
cheers.<br>
</blockquote></div><br></div>