C Compiler in Linux

Forum Index » Forums » Programming and Development
Author Message
uma
Joined: Jan 10, 2008
Posts: 3
Other Topics
Posted Jan 10, 2008 at 8:54:09 AM
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
Back to top Profile Email Website
uma
Joined Jan 10, 2008
Posts: 3

Other Topics
Posted: Jan 10, 2008 9:00:44 AM
hhh
Back to top Profile Email Website
VelvetX
Joined Dec 08, 2007
Posts: 15
Location:Mexico

Other Topics
Posted: Jan 10, 2008 2:36:50 PM
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
Back to top Profile Email Website
alpinesatan.com
Joined Dec 01, 2007
Posts: 639
Location:London, England

Other Topics
Posted: Jan 10, 2008 11:15:37 PM
do you mean redhat 9???

OS X 10.4.11 and Ubuntu Gutsy Gibbon 7.10, not forgetting fedora :D

Back to top Profile Email Website MSN
Shashank Sharma
Joined Jan 01, 1970
Posts: 1657
Location:New Delhi, India

Other Topics
Posted: Jan 11, 2008 2:50:27 PM
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.

Coauthor of Beginning Fedora: From Novice to Professional published by Apress.

Please follow the Forum Guidelines

Back to top Profile Email Website Yahoo!
Forum Index » Forums » Programming and Development