This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]