AnsweredAssumed Answered

imx6s - Can the toolchain use soft-float ?

Question asked by quentin chang on Jun 9, 2016
Latest reply on Apr 12, 2018 by Yuqian Li

Hi Sirs,

I am using FSL Yocto toolchain (fsl-yocto-L3.14.52_1.1.0-ga) to build a chip driver which will be used on i.MX6 solo platform.

The build process is stopped due the following error.

------------------------------------------------------------------------------------------------------------------------

/opt/fsl-imx-x11/3.14.52-1.1.0/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/gnu/stubs.h:7:29: fatal error: gnu/stubs-soft.h: No such file or directory

# include <gnu/stubs-soft.h>

                 ^

compilation terminated.

------------------------------------------------------------------------------------------------------------------------

I know it due to that I didn't add "-mfloat-abi=hard -mfpu=neon" to the makefile.

My question is may I build my driver with "-mfpu=vfp -mfloat-abi=soft" ?

Is FSL provides the the option or toolchain for this requirement ?

Thank you very much.

Outcomes