Results 1 to 2 of 2
i am using ubuntu live cd and i tryed to compile a C program using gcc -oex1 ex1.c
but get gcc command not found. how to solve that. I also ...
- 03-05-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 1
compile C in ubuntu live cd
i am using ubuntu live cd and i tryed to compile a C program using gcc -oex1 ex1.c
but get gcc command not found. how to solve that. I also tried cc , bcc also instead gcc. but get same reply. help.
- 03-05-2009 #2
Hi and Welcome !
C and other compilers are not pre-installed in Ubuntu.
Execute this to install necessary compilers :
Code:sudo apt-get install build-essential
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote