[yocto] build a toolchain compiler with ARM hard-float support

Richard Purdie richard.purdie at linuxfoundation.org
Thu Sep 29 03:31:44 PDT 2016


On Thu, 2016-09-29 at 09:10 +0000, Karim ATIKI wrote:
> Hi,
> 
> I'm using Poky Jethro to build on Toradex Colibri-T20 (armv7).
> 
> I want to build my own SDK Installer to have  a toolchain and a
> sysroot.
> 
> Currently, I realied that the toolchain installer files do not
> provide an arm-poky-linux-gnuabi compiler with hard-float support.
> For example, while compiling my project:
> 
> /opt/poky/2.0.1/sysroots/armv7a-vfp-neon-poky-linux-
> gnueabi/usr/include/gnu/stubs.h:10:29: fatal error: gnu/stubs-hard.h: 
> No such file or directory
> 
> Therefore:
> 
>  How to be sure that the compiler generated by "bitbake -c
> populate_sdk" will support hard-float ? Is there a configuration file
> ?

You need to choose a MACHINE which uses hard-float.

Cheers,

Richard



More information about the yocto mailing list