unable to compile

Status
Not open for further replies.

mak1012

Journeyman
hi,
i have ubuntu 5.10....im not able to compile c or c++ using g++ command in terminal. shuld i need to install ne software for that?
 

Desi-Tek.com

In the zone
actually it is available on ubuntu's live cd too
sudo apt-cdrom add
(now insert cd in cd rom and fireup command given below)
sudo apt-get install build-essential

(after downloading all the essential package test whether gcc is working properly or not by creating simple "Hello world" program u can compile any c program using this command "gcc -o fileName filename.c" without "" or by using make)

Regards,
Dheeraj
 
Last edited:

mehulved

18 Till I Die............
Any reason for running 5.10? It's outdated and has no more support. Please get 6.06. If you can't download it, then order it from shipit.ubuntu.com
 
OP
mak1012

mak1012

Journeyman
i got that yesterday. and updated thankx......but now when i sun gcc comand it says it has not been installed roerly now what to do?
 
Status
Not open for further replies.
Top Bottom