From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4186 invoked by alias); 3 Apr 2008 10:34:24 -0000 Received: (qmail 4176 invoked by uid 22791); 3 Apr 2008 10:34:23 -0000 X-Spam-Check-By: sourceware.org Received: from 81-179-28-18.dsl.pipex.com (HELO central.oakengrove.com) (81.179.28.18) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 03 Apr 2008 10:33:53 +0000 Received: (from root@localhost) by central.oakengrove.com (8.13.4/8.12.11) id m33AXnQf031941; Thu, 3 Apr 2008 11:33:49 +0100 Received: from IANS (ians.oakengrove.com [192.168.2.1]) by central.oakengrove.com (8.13.4/8.12.11) with ESMTP id m33AXcsP031896; Thu, 3 Apr 2008 11:33:38 +0100 From: "Ian Baker" To: "'wp'" , References: <1207217294.28834.ezmlm@gcc.gnu.org> <007301c89575$299c23b0$7800a8c0@ntbkmm> In-Reply-To: <007301c89575$299c23b0$7800a8c0@ntbkmm> Subject: RE: Help required to upgrade gcc Date: Thu, 03 Apr 2008 10:46:00 -0000 Message-ID: <000a01c89576$2de9b670$89bd2350$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us X-scanner: scanned by Inflex 1.1.0.1 X-IsSubscribed: yes 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 X-SW-Source: 2008-04/txt/msg00036.txt.bz2 If you type 'which gcc' You will see that it reports /usr/bin/gcc This file is a link, under Mandriva, to /etc/alternatives/gcc Which in turn is a link to the 4.0 version of gcc that you are using. If you delete /usr/bin/gcc then it should expose the 4.2 version that you have installed, depending on where you installed it Best Ian > -----Original Message----- > From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On > Behalf Of wp > Sent: 03 April 2008 11:26 > To: gcc-help@gcc.gnu.org > Subject: Help required to upgrade gcc > > I am facing issuue in upgrading of gcc-4.0.1 to gcc-4.2.0 My distro > Mandriva > 2006Not getting any error while compilation, but ggc --version still > showing > the version 4.0.1 only > after compilation. > Steps we have followed is > 1. downloded gcc-4.2.0.tar from gnu.org > 2. Untar the file > 3. ./configure > 4. make > 5. make install > We did not get a single error in the above steps. > > what I do wrong ??Thanks for any helpMarek