It looks like that toolchain on your Linux host PC is not correctly installed.
Use the following command sequence for toolchain installing and GCC using.
We use ls012atwr as example.
- bitbake fsl-toolchain
- Run ./fsl-qoriq-glibc-x86_64-cortexa7hf-vfp-neon-toolchain-2.0.sh
from the following folder:
/QorIQ-SDK-V2.0-20160527-yocto/build_ls1021atwr/tmp/deploy/sdk$
- source ./environment-setup-cortexa7hf-vfp-neon-fsl-linux-gnueabi
- $CC test_float.c -o test_float.elf
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------