AnsweredAssumed Answered

about toolchain in QorIQ SDK V1.9 PPCE500V2 IMAGE.iso

Question asked by Sym song on Jun 14, 2016
Latest reply on Jun 20, 2016 by Sym song

Hi,

     I'm working with bsc9131 and I use the toolchain in QorIQ SDK V1.9 PPCE500V2 IMAGE.iso,fsl-qoriq-glibc-x86_64-ppce500v2-toolchain-1.9.After installing the toolchain,I use command "source environment-setup-ppce500v2-fsl-linux-gnuspe" and "${CC} test.c -o test " to generate a binary file,but when I put it into my 9131 Linux and use bash test,there comes an error

line 1: syntax error: unexpected "("

but the test.c is just a simple helloword :

#include<stdio.h>

main(){

    printf("hello world!");

}

is there anything wrong with the toolchain or something?

Outcomes