<div dir="ltr"><div>It seems that Yocto 1.5.1 is built with hard float. However, the 1.51, 1.6 and 1.62 toolchains are soft float. When I tried to set "-mfloat-abi=hardfp" in the compile option, the compiling process ran into error. It seems these toolchains don't support hard float? How can I solve this problem?<br><br></div><div>These are my set in the environment file of 1.5.1 toolchain:<br>export CC="arm-poky-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork -mfloat-abi=hardfp --sysroot=/opt/poky/1.5.1/sysroots/armv5te-poky-linux-gnueabi"<br>export CXX="arm-poky-linux-gnueabi-g++ -march=armv5te -marm -mthumb-interwork -mfloat-abi=hardfp --sysroot=/opt/poky/1.5.1/sysroots/armv5te-poky-linux-gnueabi"<br>export CPP="arm-poky-linux-gnueabi-gcc -E -march=armv5te -marm -mthumb-interwork -mfloat-abi=hardfp --sysroot=/opt/poky/1.5.1/sysroots/armv5te-poky-linux-gnueabi"<br><br></div><div>It ran into error.<br></div><div><br></div>Thank you!<br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-09 0:10 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 Wed, Oct 8, 2014 at 11:34 PM, Wy kevinthesun <<a href="mailto:kevinthesunwy@gmail.com">kevinthesunwy@gmail.com</a>> wrote:<br>
> Hi Denys, I have tried 1.5.1 and 1.3. All of them use ld-linux.so.3.<br>
> Actually in the /lib directory of these toolchains I only find<br>
> ld-linux.so.3.<br>
<br>
</span>it's not really about the toolchain version, but the compiler options<br>
you are using. a given toolchain will by default use wither soft-flat<br>
or hard-float, but you can specify different ABI on the gcc command<br>
line.<br>
</blockquote></div><br></div>