View Full Version : C Compiler
2words4uready
June 13th, 2008, 11:19 AM
I am going to start programming in c and i was wondering what a good c compiler for ubuntu is
also i am planning on making the most basic os is c the right language for this:confused:
raul_
June 13th, 2008, 11:21 AM
gcc
gcc is not a compiler, it's THE compiler :cool:
Also, read the Sticky in the Programming Talk Section here in the forums
Uchiha_madara
June 13th, 2008, 11:21 AM
Ubuntu is already Supports C Compiler
you want to now how Create,Compile ,And Run it from Terminal
KingTermite
June 13th, 2008, 11:34 AM
If a very basic OS, then yes, I'd say C would be the right way to go.
If you haven't yet, you need to install the Gnu Compiler Collection (which includes gcc - gnu c compiler).
sudo apt-get install build-essential
2words4uready
June 13th, 2008, 11:43 AM
yes i wnat to know how to create and compile
raul_
June 13th, 2008, 11:53 AM
http://ubuntuforums.org/forumdisplay.php?f=39
Read all the stickies
LaRoza
June 13th, 2008, 11:54 AM
The sticky in this forum has a link to a how to.
Kadrus
June 13th, 2008, 11:54 AM
sudo apt-get update
sudo apt-get install build-essential
open gedit:
#include<stdio.h>
int main()
{
printf("my first c program");
return 0;
}
save it ex.c
open terminal and type:gcc ex.c
then:./a.out
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.