Please download QorIQ-SDK-V2.0-PPCE500V2-IMAGE-20160527-yocto.iso and install fsl-toolchain/fsl-qoriq-glibc-x86_64-ppce500v2-toolchain-2.0.sh on your host PC.
Then execute the following command to set up the toolchain environment.
$ source /opt/fsl-qoriq/2.0/environment-setup-ppce500v2-fsl-linux-gnuspe
Then compile the test file with the following command.
$ ${CC} test.c -o test
Please download QorIQ-SDK-V2.0-PPCE500V2-IMAGE-20160527-yocto.iso and install fsl-toolchain/fsl-qoriq-glibc-x86_64-ppce500v2-toolchain-2.0.sh on your host PC.
Then execute the following command to set up the toolchain environment.
$ source /opt/fsl-qoriq/2.0/environment-setup-ppce500v2-fsl-linux-gnuspe
Then compile the test file with the following command.
$ ${CC} test.c -o test
thanks, SDK 1.8 could do the same thing.