紧急求救!!!一个关于GCC的问题
我想编译 /root/mydir/test.c请问怎么在红帽9的GNOME下用GCC编译
还有
编译好的可执行文件在哪儿??? this is not a kernel source reading question. and u even put on top here?
open a console.
cd /root/mydir
gcc -o test test.c
./test
test is the generated file. this only works if u code is simple. if u used many libraries. u may need -l... 找本书看看吧,这是最基本的问题了 我晕,这也来问? no stupid questions, only stupid answers.
页:
[1]