3 Replies Latest reply on Jul 29, 2015 4:19 PM by Intel_Alvarado

    Cross compiled program syntax error


      I have a simple hello world program written in C and cross compiled for the galileo. It works fine on my host machine, but when I drop it on the galileo and run it I get an error:

      -sh: test: line 1: syntax error: unexpected "("


      My code is just simply

      #include <stdio.h>



      printf("Hello, world!\n");



      What would cause that syntax error?