I tried to compile a c/c++ source code file with a command: cc abc.c and get no executable file but abc.o file. How to compile the source code with gcc? Thanks!
-lz_anne(OAnne);
2001-9-27{161}(#211673@0)
I tried to compile a c/c++ source code file with a command: cc abc.c and get no executable file but abc.o file. How to compile the source code with gcc? Thanks!
use 'gcc abc.c abc'
-rock_jack(The Door);
2001-9-27(#211678@0)
you need give an exe file name, if you don't give it, compiler use xx.o as default.
-rock_jack(The Door);
2001-9-27(#211680@0)
Thanks!
-lz_anne(OAnne);
2001-9-29(#213475@0)
gcc
-netee(netee);
2001-9-26(#210871@0)
谢谢楼上二位。
-kevin2000(流星雨);
2001-9-26(#210875@0)
You can download Linux HOWTO from http://www.linuxdoc.org/
-aiattendant(aiattendant);
2001-9-27{234}(#211802@0)
*.o files are object files. Use -o ExeFileName to define a runable output.
There are many helpful Linux links such as:
http://www.justlinux.com/
http://www.linuxtoday.com/
You can go to many others from there as a start point.