Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!spool.mu.edu!newspump.sol.net!mindspring!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!su-news-hub1.bbnplanet.com!arclight.uoregon.edu!news.uoregon.edu!xmission!xmission.xmission.com!not-for-mail From: Softweyr LLC <softweyr@xmission.xmission.com> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Installing GCC++ 2.7.2 on 2.1.5 Date: 16 Dec 1996 21:08:34 GMT Organization: XMission Internet (801 539 0900) Lines: 21 Message-ID: <594doi$8t4@news.xmission.com> References: <mvhE2Dp68.E37@netcom.com> NNTP-Posting-Host: xmission.xmission.com X-Newsreader: TIN [UNIX 1.3 unoff BETA release 961006] Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:32718 Michael Harding <mvh@netcom.com> wrote: : Um, is this an easy thing to do? I want to use 2.7.2 for c++ so I can : use STL, but I don't mind using 2.6.3 for C. Can I just install the C : package in /usr/local and soft link the c++ compiler to it? What : about the C++ libraries? Why is there a pentium gcc for 2.7.2 in the : ports, but not a regular one? Any caveats? It's pretty simple, really. Once you've installed 2.7.2.1 (the most recent version, if you've got 2.7.2 get the diffs from your local GNU ftp server before installing), you can control which version of the compile you run with your $PATH; if /usr/bin comes first, you'll get the 2.6.3 compiler, if /usr/local/bin comes first, you'll get the 2.7.2.1 compiler. I'd recommend just using 2.7.2.1 for everything. The 2.2-RELEASE and CURRENT development branches are both built with 2.7.2.1 these days, the compiler generates good code. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.xmission.com/~softweyr softweyr@xmission.com