#include
int main(void)
{
printf(¡°Hello,Real2410¡±) ;
return 0;
}
±àÒëhello
´ò¿ªÖÕ¶Ë
½øÈëhello Ŀ¼
arm-linux-gcc -o hello hello.c
½«ÔÚhello Ŀ¼Ïºó³Éhello ¿ÉÖ´ÐÐÎļþ
ÎÒÊDzÉÓÃFTPÏÂÔصģ¬¾ßÌå¹ý³ÌÈçÏ£º
1.Ê×ÏÈÉèÖ÷þÎñÆ÷IPµØÖ·
ÎÒÉèÖõÄÊÇ192.168.1.17
#ifconfig eth0 192.168.1.17 netmask 255.255.255.0
2.½Ó×Å¿ªÆôFTP·þÎñÆ÷
# /sbin/service vsftpd start
3.ÉèÖÿª·¢°å£¨¿Í»§¶Ë£©IP
ÎÒÉèÖõÄÊÇ192.168.1.100
#ifconfig eth0 192.168.1.100 netmask 255.255.255.0
3.¿ª·¢°å£¨¿Í»§¶Ë£©µÇ½FTP·þÎñÆ÷
ftp 192.168.1.17
Connected to 192.168.1.17 (192.168.1.17).
220 (vsFTPd 1.1.3)
4.ÊäÈëÓû§Ãûanonymous£¬ÃÜÂëΪ¿Õ
Name (192.168.1.17:root): anonymous
331 Please specify the password.
Password:
230 Login successful. Have fun.
Remote system type is UNIX.
Using binary mode to transfer files.
5.¿ª·¢°å£¨¿Í»§¶Ë£©ÏÂÔØhello³ÌÐò
get hello ; ÏÂÔØhello
6.Í˳öFTP·þÎñÆ÷
bye
7.ÏÂÔغóµÄhello³ÌÐòÔÚ/Ŀ¼ÏÂ
8.¸Ä±ähello µÄ¿ÉÖ´ÐÐȨÏÞ
chmod a+x hello
9.ÔÚ¿ª·¢°åÏÂÖ´ÐÐhello³ÌÐò
./hello
kvvl ÓÚ 2008-08-14 15:17:42·¢±í:
ÎÒ½ñÌì¸ÕÔÚlinuxÏÂÔËÐÐÁËÒ»¸öhelloworld£¬ºÇºÇ
sxmilovebb ÓÚ 2008-07-17 17:14:33·¢±í:
ÎÒ¸ßÖÐѧÀú£¬ÏÖÔÚʧҵÖС£¡£¡£
Éí±ßÒ²ÕÒ²»µ½ÈËÁÄÁÄlinux£¬
ÓÈÆäÊÇlinux c°¡ ¡£
sxmilovebb ÓÚ 2008-07-17 17:13:39·¢±í:
ÎÒÏë¸ã»úÆ÷ÈË£¬arm»ú£¬¿ÉÄÜÊÇÎÒµÄδÀ´°¡£¬
»òÐíÎÒ¿ÉÄÜÓÃÆäËûµ¥Æ¬»ú´¦Àí
sxmilovebb ÓÚ 2008-07-17 17:12:49·¢±í:
´ó¸ç£¬ÄãÓÃarm»ú£¬ÊÇ×öʲôÓõģ¿£¿
³ÌÐòÎÒ»áhello£¬
arm»ú¾ÍƤë²»ÖªÁË¡£¡£¡£¡£
Òª´µÅ£ÕÒ ÎÒ°¡£¬£¬
QQ95655504