Changing gcc

Fergus Henderson fjh@cs.mu.oz.au
Tue Apr 1 07:49:00 GMT 2003


On 01-Apr-2003, djfm <djfm@wanadoo.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@cs.mu.oz.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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3083 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20030401/958463fc/attachment.bin>


More information about the Gcc mailing list