This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Upgrade from 2.9 to 3.x?
- From: Scott Robert Ladd <coyote at coyotegulch dot com>
- To: Kunal Sachdeva <kunal_gcc at yahoo dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 12 May 2003 13:46:44 -0400
- Subject: Re: Upgrade from 2.9 to 3.x?
- References: <20030512134636.51724.qmail@web20502.mail.yahoo.com>
Kunal Sachdeva wrote:
> Can anyone suggest how can I upgrade it to 3.x keeping
> in mind I have basic knowledge of Linux ?
If I understand you correctly, you currently have GCC 2.9x, and you want
to use GCC 3.3.
Much depends on your distribution of Linux. As far as I know, every
Linux dustribution installs a version of GCC, so you're probably using
whatever came from whoever (SuSE, Red Hat, Debian, etc.) packaged your
Linux. You may want to check with your Linux distributor; it's likely
that an update to your Linux installation will automatically upgrade
your GCC.
Some Linux distributions include both GCC 2.9x and GCC 3.x, giving one
or the other a special name (say, gcc-3) or using symbolic links to set
which compiler you're using.
If your Linux vendor does *not* have a newer version of GCC, you have
two choices:
1) Change Linux distributions (which may be the easiest solution for a
Linux novice)
2) Download the GCC source code, compile it, and install it yourself.
The main gcc web site (http://gcc.gnu.org) has relatively clear
documentation on configuring, compiling, and installing gcc from source.
--
Scott Robert Ladd
Coyote Gulch Productions (http://www.coyotegulch.com)