Please download the ISO Image: QorIQ Linux SDK v2.0 PPC64E6500 IMAGE(QorIQ-SDK-V2.0-PPC64E6500-IMAGE-20160527-yocto.iso).
You will find fsl-toolchain folder in this ISO, please run the following command to install the toolchain in /opt/fsl-qoriq/2.0.
./fsl-toolchain/fsl-qoriq-glibc-x86_64-ppc64e6500-toolchain-2.0.sh
source /opt/fsl-qoriq/2.0/environment-setup-ppc64e6500-fsl-linux
got it ,thanks I will try.
Please download the ISO Image: QorIQ Linux SDK v2.0 PPC64E6500 IMAGE(QorIQ-SDK-V2.0-PPC64E6500-IMAGE-20160527-yocto.iso).
You will find fsl-toolchain folder in this ISO, please run the following command to install the toolchain in /opt/fsl-qoriq/2.0.
./fsl-toolchain/fsl-qoriq-glibc-x86_64-ppc64e6500-toolchain-2.0.sh
source /opt/fsl-qoriq/2.0/environment-setup-ppc64e6500-fsl-linux
linux$ powerpc64-fsl-linux-gcc test.c
test.c:1:19: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^
compilation terminated.
Cross compilation tool cannot be used
$ source /opt/fsl-qoriq/2.0/environment-setup-ppc64e6500-fsl-linux
$ ${CC} test.c -o test
Thank you very much, Yiping.
How to compile the kernel ..?