From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5484 invoked by alias); 5 Aug 2014 17:10:09 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 5473 invoked by uid 89); 5 Aug 2014 17:10:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-la0-f41.google.com Received: from mail-la0-f41.google.com (HELO mail-la0-f41.google.com) (209.85.215.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 05 Aug 2014 17:10:07 +0000 Received: by mail-la0-f41.google.com with SMTP id s18so998293lam.0 for ; Tue, 05 Aug 2014 10:10:04 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.112.171.134 with SMTP id au6mr5394626lbc.21.1407258604248; Tue, 05 Aug 2014 10:10:04 -0700 (PDT) Received: by 10.112.94.70 with HTTP; Tue, 5 Aug 2014 10:10:04 -0700 (PDT) In-Reply-To: References: <53E0A4B6.1090007@gmail.com> Date: Tue, 05 Aug 2014 17:10:00 -0000 Message-ID: Subject: Re: How to uninstall pre-installed previous version and install new From: Jonathan Wakely To: Syed Ahsan Ali Bokhari Cc: =?UTF-8?B?w4FuZ2VsIEdvbnrDoWxleg==?= , gcc-help Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-08/txt/msg00031.txt.bz2 On 5 August 2014 17:54, Syed Ahsan Ali Bokhari wrote: > Yes I did that before, I removed the gcc and when I tried to build a > new gcc from source it crashed complaining that no C compiler is > present. Isn't it weird that installation of C compiler needs C > compiler as a pre-requisite.? You don't need a compiler to install a C compiler, you need a compiler to *compile* a C compiler, just like you need a compiler to compile any program. If you just want to install gcc you use 'yum' or 'rpm' to do that, instead of compiling it yourself. If you want to compile gcc, obviously you need a compiler of some kind. It might seem weird but it's not, it's quite normal. http://en.wikipedia.org/wiki/Bootstrapping_%28compilers%29