This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Migrating from gcc2.96 to gcc 3.0.2
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Nirmit Vikrambhai Desai <nvdesai at unity dot ncsu dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 7 Jan 2002 17:08:40 -0500 (EST)
- Subject: Re: Migrating from gcc2.96 to gcc 3.0.2
On Mon, 7 Jan 2002, Nirmit Vikrambhai Desai wrote:
> Operating System: Red Hat Linux 7.1.2.96-81
>
> I want to upgrade my existing gcc2.96 to gcc3.0.2
Why do you want to replace the system compiler? This is the one Red Hat
recommends.
> /usr/bin/gcc is 2.96 binary still
>
> /usr/local/bin/gcc is 3.0.2 binary now
No problem. To use 3.0.2, give the full path to the compiler, or make
sure it comes first in your PATH, e.g.
export PATH=/usr/local/bin:$PATH
Jeff