how to compile??
i've got a C file I want to compile, the readme says to type
CC filename.C but when I type that in Konsole it says CC No command or something. Do I need to download GCC ? I'm running winlinx 2003, thanks! |
cc stands for c-compiler. Most often however linux distros are shipped with the gnu c-compiler leading to a binary name of gcc.
Sooo you should try: gcc filename.c btw: a .C (as opposed to .c) file is c++ or am i wrong? so alternatively you should try g++. if those do not work, you might have to dl gcc. |
thanks for your help, but that hasn't worked :/ So I guess i'll have to download GCC, thanks anyway.
|
It should be on your installation CD(s). Which distro are you using?
|
to be honest, i'm not really sure, i'm new to all this linux stuff. I just downloaded the smaller sized non supported copy of winlinux 2003.
|
i've just downloaded gcc-3.1.tar
and i was wondering if anyone could give me any pointers on how to install gcc, thanks. |
it will have all the documentation inside it. please learn to search the site for basic problems like installing from source.
|
All times are GMT -5. The time now is 10:54 AM. |