[root@EmbedSky root]# cd /
[root@EmbedSky /]# cd home/wei/myTest
[root@EmbedSky myTest]# ls
hello.c
[root@EmbedSky myTest]# cat hello.c
#include
int main()
{
printf("Hello Linux!\n");
return 0;
}
[root@EmbedSky myTest]# gcc -o hello hello.c
[root@EmbedSky myTest]# ls
hello hello.c
[root@EmbedSky myTest]# hello
bash: hello: command not found
[root@EmbedSky myTest]#
luck_yao 于 2010-10-11 17:58:10发表:
也就一个绝对路径和相对路径的问题!
王文果 于 2010-09-28 17:49:52发表:
看看啊
hyl01537 于 2010-08-31 19:19:52发表:
编程是这样子的!
dw2835 于 2010-06-16 23:50:04发表:
果然愚蠢,多谢圣光!!
绿色圣光 于 2010-06-16 21:33:19发表:
./hello