Migrating from gcc2.96 to gcc 3.0.2
Jeff Sturm
jsturm@one-point.com
Mon Jan 7 14:09:00 GMT 2002
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
More information about the Gcc
mailing list