On Mon, Oct 5, 2009 at 10:09 PM, F.A.I.Z.A.L <[email protected]> wrote:
> hi Leffer.. > Hi Faial...names look funny with missing letters, don't they? > gcc version output > > *andd141# perl -V:gccversion* > gccversion='3.4.6'; > *andd141# gcc --version* > gcc (GCC) 3.3.2 > Copyright (C) 2003 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > I was try to upgrade this version using gcc-3.4.6 but its not updating.. > any idea? Ummm... what does "trying to upgrade but it is not updating" mean? When I try to upgrade GCC, one of two things happens: (1) I download the source and build it, install it, and then make sure I use the new version instead of the old. (2) I download a pre-built version, install it, and then make sure I use the new version instead of the old. In case of doubt, I remove the old version too - but I don't often have doubts and the old versions are not on my PATH and hence are not findable (because they aren't in easily predictable places like under /usr/local/). In fact, I have versions 3.4.6, 4.2.3, 4.3.3 and 4.4.1 on my Solaris box at the moment - and other people have a stray copy of 3.4.6 and a 3.4.3 on there too (what fun; I didn't know about those two until I went looking). Clearly, you have to ensure that your PATH is set up to pull in the correct version of GCC once it is installed. -- Jonathan Leffler <[email protected]> #include <disclaimer.h> Guardian of DBD::Informix - v2008.0513 - http://dbi.perl.org "Blessed are we who can laugh at ourselves, for we shall never cease to be amused."
