LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   how to intall GCC (https://www.linuxquestions.org/questions/linux-desktop-74/how-to-intall-gcc-693814/)

avsn9849625263 12-30-2008 04:48 AM

how to intall GCC
 
i am getting an error when i was try to istall(./configur)
the erroe is
no c compiler

repo 12-30-2008 04:51 AM

Hi,

You should install build-essential
What distribution are you using?

IBall 12-30-2008 04:56 AM

Welcome to LQ!

Installing a compiler is one of those odd things - basically, you need a compiler to compile the compiler. Therefore, the best way for most people is to use a precompiled package for your distribution.

You don't say what distribution you are using. If it is Ubuntu - try using
Code:

sudo aptitude install build-essential
This will give you the C compiler (gcc) along with other useful tools such as make, and give you most of the base development libraries.

I hope this helps,
--Ian

PS: Please put your distribution in your profile. It helps us to help you.


All times are GMT -5. The time now is 03:00 AM.