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: Changing gcc


On 01-Apr-2003, djfm <djfm at wanadoo dot fr> wrote:
> 
> I'm new to Linux , I am under mandrake 8.2 , and I wanted to upgrade my
> gcc native compiler (2.96) to the last 3.2.2 , I downloaded it on
> gcc.gnu.org , and followed the compilation instructions. Or I may
> suppose to have done so. I've made a "make bootstrap" , all seem to have
> worked correctly , now I have the binaries and libraries installed in
> usr/local/ but they have not self-replaced the old ones. 

Leave the old files where they are, and just change your PATH
environment variable so that /usr/local/bin (or whereever you installed
the new gcc) is included at the start.

E.g. if you are using bash, you can add the following line to your
~/.bash_profile file:

	PATH=/usr/local/bin:$PATH

-- 
Fergus Henderson <fjh at cs dot mu dot oz dot au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.

--------------------------------------------------------------------
This message could not be encrypted because no digital certificate
was found for your address. However, you can encrypt your reply with
the certificate attached below. Details at www.unicrypt.com.au

Attachment: smime.p7s
Description: S/MIME cryptographic signature


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