From: Syed Ahsan Ali Bokhari <ahsan.pmd@gmail.com>
To: "Ángel González" <keisial@gmail.com>
Cc: Jonathan Wakely <jwakely.gcc@gmail.com>, gcc-help <gcc-help@gcc.gnu.org>
Subject: Re: How to uninstall pre-installed previous version and install new
Date: Tue, 05 Aug 2014 16:54:00 -0000 [thread overview]
Message-ID: <CAOjP03X4u8Q8eDzarSXL6ebxR3ZxZJ2B3aS2vFenomQ1Ddop-g@mail.gmail.com> (raw)
In-Reply-To: <53E0A4B6.1090007@gmail.com>
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.?
On Tue, Aug 5, 2014 at 2:32 PM, Ángel González <keisial@gmail.com> wrote:
> On 05/08/14 10:37, Jonathan Wakely wrote:
>>
>> On 5 August 2014 04:45, Syed Ahsan Ali Bokhari wrote:
>>>
>>> My RHEL6.1 has pre installed gcc (GCC) 4.4.5 20110214 (Red Hat
>>> 4.4.5-6). I want to update it to latest version. I don't have red hat
>>> subscription and therefore I'll have to install from source. How can I
>>> uninstall this version
>>
>> "yum erase gcc" but I would advise against doing that.
>>
>>> and install a more recent version of GCC.
>>
>> It's a bad idea to replace the system compiler, just install a newer
>> version in a different path.
>
> Specially if you attempt to remove it before having the new one ready,
> as you won't be able to install from source (thus compil¡ng) the new version
> without a working compiler.
>
--
Syed Ahsan Ali Bokhari
Electronic Engineer
Research & Development Division
Pakistan Meteorological Department H-8/2, Islamabad.
Phone # off +92519250361
Cell # +923155145014
Fax # +92519250368
www.pmd.gov.pk
next prev parent reply other threads:[~2014-08-05 16:54 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-05 3:45 Syed Ahsan Ali Bokhari
2014-08-05 8:37 ` Jonathan Wakely
2014-08-05 9:22 ` Syed Ahsan Ali Bokhari
2014-08-05 9:32 ` Ángel González
2014-08-05 16:54 ` Syed Ahsan Ali Bokhari [this message]
2014-08-05 17:10 ` Jonathan Wakely
2014-08-06 3:17 ` Syed Ahsan Ali Bokhari
2014-08-06 10:11 ` Syed Ahsan Ali Bokhari
2014-08-06 10:24 ` Kyrill Tkachov
2014-08-06 12:51 ` Syed Ahsan Ali Bokhari
2014-08-06 13:19 ` Raghunath Lolur
2014-08-06 2:43 ` Quanyang Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAOjP03X4u8Q8eDzarSXL6ebxR3ZxZJ2B3aS2vFenomQ1Ddop-g@mail.gmail.com \
--to=ahsan.pmd@gmail.com \
--cc=gcc-help@gcc.gnu.org \
--cc=jwakely.gcc@gmail.com \
--cc=keisial@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).