hale2bopp
Newbie level 1
Hi!
I have done the following successfully:
1) Installed the Kernel in VirtualBox
2) Upgraded and updated the kernel
3) Installed the arm-linux-gcc 4.3.2 compiler
4) I have written a hello world program and compiled it using the command
#gcc -o hello hello.c
The object file created can be executed in the terminal without any errors. But the same object file when run on FriendlyARM Board mini2440 gives an error as: Error in syntax of line 1
5) I tried to compile the file using the command:
#arm-linux-gcc -o hello hello.c
But while executing the program on terminal error comes as:
./hello cannot execute binary file
6) I was also successfully able to compile the file with another arm-linux-gcc command which I don't remmeber right now, but it was executing on the computer. But when we tried running it on the bard, we got the same error : Error in syntax of line 1
Please help me!
I have done the following successfully:
1) Installed the Kernel in VirtualBox
2) Upgraded and updated the kernel
3) Installed the arm-linux-gcc 4.3.2 compiler
4) I have written a hello world program and compiled it using the command
#gcc -o hello hello.c
The object file created can be executed in the terminal without any errors. But the same object file when run on FriendlyARM Board mini2440 gives an error as: Error in syntax of line 1
5) I tried to compile the file using the command:
#arm-linux-gcc -o hello hello.c
But while executing the program on terminal error comes as:
./hello cannot execute binary file
6) I was also successfully able to compile the file with another arm-linux-gcc command which I don't remmeber right now, but it was executing on the computer. But when we tried running it on the bard, we got the same error : Error in syntax of line 1
Please help me!