My standalone toolchain at
/opt/fsl-qoriq/1.9/
and i have run comand like this in my terminal
source /opt/fsl-qoriq/1.9/environment-setup-ppce6500-fsl-linux
last ,when i make the uImage, there are some errors like this:
cpit-drv@cpitdrv-Lenovo:~/Yocto/QorIQ_SDK_V1.9/Project/Test/kernel-source$ make uImage
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CALL arch/powerpc/kernel/systbl_chk.sh
CHK kernel/config_data.h
LINK vmlinux
LD vmlinux.o
powerpc-fsl-linux-ld: cannot find libgcc.a: No such file or directory
powerpc-fsl-linux-ld: cannot find libgcc.a: No such file or directory
make: *** [vmlinux] 错误 1
cpit-drv@cpitdrv-Lenovo:~/Yocto/QorIQ_SDK_V1.9/Project/Test/kernel-source$
but when i run $CC --print-libgcc-file-name like following:
cpit-drv@cpitdrv-Lenovo:~/Yocto/QorIQ_SDK_V1.9/Project/Test/kernel-source$ $CC --print-libgcc-file-name
/opt/fsl-qoriq/1.9/sysroots/ppce6500-fsl-linux/usr/lib/powerpc-fsl-linux/4.9.2/libgcc.a
cpit-drv@cpitdrv-Lenovo:~/Yocto/QorIQ_SDK_V1.9/Project/Test/kernel-source$
How can i solve this error,thanks!