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@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx] On > Behalf Of wp > Sent: 03 April 2008 11:26 > To: gcc-help@xxxxxxxxxxx > 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