Hello

I have just written a simple hello world program that i wish to test on my gumstix. i compiled the following code to create the binary file "Hello": code:-

#include <stdio.h>

int main(int argc, char *argv[])
{
       printf("\nHello World\n");
}

i compiled the code in terminal using the following command
gcc -o Hello helloworld.c

The file works fine on my host computer, but when i set it via serial to the gumstix, the file transfers what seems to be fine but when i type:

# ./Hello

I get the following error:
./Hello: ./Hello 1: Syntax error: ")" unexpected

Does anyone know why this is occuring, like i said the file work fine as it is supposed to on my host comp but not on gumstix.

Any help would be great.
Kind Regards

James