I meet some troubles after installing ubuntu 7.10, it seems that GCC 4.1.3 just cannot work.
I tried other versions of GCC and ubuntu, but problems still exist:
e.g., I have a file "test.c"
---------------------------------
#include
#include
int main()
{
printf("Howdy, world!\n");
return(0);
}
---------------------------------
then use cc to compile test.c,
cc test.c
a.out is produced, by now, gcc works quite fine. but at last when I tried to execute a.out, these information is printed out:
a.out: command not found, why?
please give some help, thank you.
rtl 于 2008-08-13 20:55:59发表:
是不是??包??上
apt-get install libc6-dev
?上看看
Arthur1989 于 2008-08-13 13:25:39发表:
哈哈,只用过VC6.0
renewjoy 于 2008-08-11 13:48:58发表:
yes.
Do it yourself and you will find it.
qwpsmile 于 2008-08-10 17:08:11发表:
:0wl;l1
I find the answer: simply use command ./a.out, this procedure can be executed!
Yeah!