C Compiler in Linux
Author Message
Posted : Thu, 10 January 2008 08:54:09
Subject : C Compiler in Linux
I installed Linux 9.0 and when u try to run .c Files with the cc compiler i get the error BASH CC Command NOT Found can u please tell me solution how can u run the .c / .cc files in Linux how can i configure that
uma
Posted : Thu, 10 January 2008 09:00:44
Subject : C Compiler in Linux
hhh
VelvetX
Posted : Thu, 10 January 2008 14:36:50
Subject : C Compiler in Linux
What do u mean with "Linux 9.0" ???? @_@ BTW, u have to be sure that GCC is installed on your machine. $ gcc --version then u can just type: $ gcc -Wall asdf.c -o asdf ...or whateva Hope it helps. ~ VVX
alpinesatan.com
Posted : Thu, 10 January 2008 23:15:37
Subject : Re: C Compiler in Linux
do you mean redhat 9???
Shashank Sharma
Posted : Fri, 11 January 2008 14:50:27
Subject : C Compiler in Linux
CC is not available on Linux.. And if you're using RedHat 9.0, you should know that it's ancient. I suggest you switch to a more recent distribution, be Fedora, Ubuntu, Mandriva or OpenSUSE. And you should install GCC to be able to compile your code.