AnsweredAssumed Answered

How to cross compile powerpc64(T4240 RDB)

Question asked by vignesh M on Apr 21, 2017
Latest reply on Apr 28, 2017 by vignesh M

Hi,

   

We purchased a T4240 development kit (NXP T4240RDB).

 

We installed that package on 14.04.1-Ubuntu. I can compile linux and uboot using bitbake for t4240rdb-64b.

 

When I cross compile a simple .c file with printf for powerpc64 architecture. I face some issues on compile

 

Error message:

 

$ powerpc64-fsl-linux-gcc  main.c

main.c:15:19: fatal error: stdio.h: No such file or directory

 #include <stdio.h>

                   ^

compilation terminated.

How to cross compile for powerpc64 architecture?

Outcomes