do we have to install GCC comiper for UBUNTU 7.10

Asked by nik_iit

I have tried programming in C in New Ubuntu but it is not reading standred lib functions.
Please tell me do i have to install the compiler again .
I had it in the Ubuntu 7.04 and it was working well. Then i upgraded it to the newer version.

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Qwerty Maniac (qwertymaniac) said :

You have to install gcc for using C/C++ Compiler.

The best thing to do would be to install the entire build-essential package by giving the following from the Terminal:
sudo apt-get install build-essential

Let that process complete and then you should again be able to use:
gcc filename.c -o outfilename
g++ filename.cpp -o outfilename

To compile your .c and .cpp files.

Can you help with this problem?

Provide an answer of your own, or ask nik_iit for more information if necessary.

To post a message you must log in.