*BSD News Article 84261


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!ames!enews.sgi.com!news.sgi.com!su-news-hub1.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!cam-news-hub1.bbnplanet.com!news.mathworks.com!uunet!in3.uu.net!199.232.240.5!news.ziplink.net!rtfm.ziplink.net!mi
From: mi@rtfm.ziplink.net (Mikhail Teterin)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: GCC upgrade
Date: 5 Dec 1996 09:09:31 GMT
Organization: Aldan at Newton Upper Falls
Lines: 24
Message-ID: <5863gb$da4@news.ziplink.net>
References: <583mk6$s88@melon.interpia.net>
Reply-To: mi@ALDAN.ziplink.net
NNTP-Posting-Host: 199.232.255.52
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8

Honorable Joohyee Lee
      wrote on 04 Dec (in article <583mk6$s88@melon.interpia.net>):

=	I want to upgrade GCC to 2.7.2 or higher
=replacing 2.6.3 of FreeBSD 2.1.6.
=	I don't want to put newly compiled 2.7.2
=into /usr/local/. I just want to put it at /usr 
=replacing old files.

Download the gcc-2.7.2.1.tar.gz from your nearest mirror.  Read
the INSTALL. Build it and install it to /usr/local (_reading_ the
/usr/ports/lang/pgcc/patches/patch-aa may help you to install).

/usr/bin/gcc is just a link to /usr/bin/cc (g++ is linked to c++).
If you remove the /usr/bin/gcc, the next gcc in the path will be
the one from /usr/local/bin. This way, you'll have to compilers cc
and gcc. If you build the pgcc-port after it, you'll have all three
-- cc (2.6.3), gcc (2.7.2.1), and pgcc (2.7.2p) -- this is what I
have here.

	-mi

-- 
	"Windows for dummies"