Hi, i can’t run program Hello.c What wrong :
after boot linux, i do -
ifconfig 192.168.10.50 up
inetd
ftpget 192.168.10.11 /home/hello /ftp/hello
cd /home
chmod 777 hello
/home # ./hello
Segmentation fault - why?
file “hello” is already compiled
arm-elf-gcc -mcpu=arm920t -marm -o hello hello.c
hello.c :
#include <stdio.h>
int main (void)
{
printf(“Hello World!\n”);
return 1;
}