installing GCC

Atwood, Robert C r.atwood@imperial.ac.uk
Mon Mar 9 16:54:00 GMT 2009


Exactly why don't you install via apt-get gcc ???


You need gcc (or some C compiler)  to build gcc!
If it's not installed, you cannot build anything from source

 Then once you've built the source version you could  remove the default
one.




> -----Original Message-----
> From: gcc-help-owner@gcc.gnu.org 
> [mailto:gcc-help-owner@gcc.gnu.org] On Behalf Of e-karim
> Sent: 08 March 2009 23:21
> To: gcc-help@gcc.gnu.org
> Subject: Re: installing GCC
> 
> 
> thank for your answer, but it seems like if there is no gcc 
> pre-built on my
> system , cause when i do (gcc -v) ubuntu asks me to apt-get 
> gcc, but my aim
> si to install it from sources, and when i try it i get this error (no
> acceptable C compiler found in $PATH) and when i try to find gcc on my
> system by (find / -name gcc) i got this directory 
> (/usr/lib/gcc) i add it to
> my path, but no result.
> 
> 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/installing-GCC-tp22404231p22404413.html
> Sent from the gcc - Help mailing list archive at Nabble.com.
> 
> 



More information about the Gcc-help mailing list