*BSD News Article 87314


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.syd.connect.com.au!phaedrus.kralizec.net.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!newsfeeds.sol.net!news-xfer.netaxs.com!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.maxwell.syr.edu!news.bc.net!unixg.ubc.ca!umelba.Triumf.CA!spmklr
From: spmklr@umelba.Triumf.CA (Fight Sp-m!)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: gcc/g++ 2.7.2 package..
Date: 22 Jan 1997 17:14:29 GMT
Organization: seldom
Lines: 29
Distribution: world
Message-ID: <5c5htl$f8i$1@nntp.ucs.ubc.ca>
References: <97022.0905013CQBJOZ@cmuvm.csv.cmich.edu>
NNTP-Posting-Host: umelba.triumf.ca
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34429

In article <97022.0905013CQBJOZ@cmuvm.csv.cmich.edu> ishwar rattan <3CQBJOZ@cmuvm.csv.cmich.edu> writes:
>Hello
> 
>I was not able to locate gcc/g++-2.7.2 package on ftp.freebsd.org.
>I am ruuning FreeBSD-2.1.5, is it necessary to upgrade to 2.1.6 or
>2.2 etc. to run the newer versions of gcc..

No, you can always build another version of gcc which will happily
co-exist with the stock gcc/cc that comes with any FreeBSD
distribution (just don't try to build a kernel with the newer
version).

I would suggest the following:
  - get the latest version of gcc (2.7.2.1)
  - apply the "repo-bsd" patch if you want to do c++ projects
    (location: "ftp://ftp.cst.com.au/pub/gcc-2.7.2-repo-bsd.gz")
  - build and install the new version of gcc/g++ (it goes into
    "/usr/local" by default).  Use the stock gcc/cc compiler for
    this step.
  - if you want to do c++ projects
     o get the latest version of libg++ (2.7.2)
     o build and install the libg++ package (it also goes into
       "/usr/local" by default).  Use the new gcc/g++ compiler
       for this step.


_____
Larry
felawka@umelba.triumf.ca