*BSD News Article 65924


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!inferno.mpx.com.au!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!gatech!udel!news.mathworks.com!tank.news.pipex.net!pipex!dish.news.pipex.net!pipex!zeus.tecc.co.uk!zeus.co.uk!not-for-mail
From: damian@zeus.co.uk (Damian Reeves)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: GNU GCC 2.7.2 and Libg++ 2.71 Binary Availability
Date: 15 Apr 1996 19:38:47 +0100
Organization: Zeus Technology Ltd.
Lines: 39
Message-ID: <4ku53n$4hl@zeus.co.uk>
References: <3171065C.167EB0E7@mindspring.com>
NNTP-Posting-Host: absolutely.obsolete.com

In article <3171065C.167EB0E7@mindspring.com>,
Ron Bolin  <rlb@mindspring.com> wrote:
>Does anyone know where a FreeBSD 2.X version of the GNU gcc
>2.7.2 and libg++ 2.7.1 binaries are available?  
>
>I find that configuring a build from the MIT GNU distribution does not
>successfully build 2.7.2. I have built it for other platforms b4, but
>FreeBSD seems to need some patches? Can anyone add to this? As I would
>rather build it from souce if possible, without spending hours
>re-inventing the wheel so-to-speak.

I've built a 2.7.2 of GCC a couple of days ago from the source
distribution.  Apart from a few problems in upgrading my binutils
distribution part way through installing the new GCC (talk about picking
yourself up with your bootstraps!), it all runs perfectly.  Compilation of
the GNU binutils package involves manually altering some of the autoconf
scripts which don't support FreeBSD directly, but nothing too painful. 

However, g++ is not so happy.  It wouldn't even touch the old g++ lib
I had, so I complied a new one with the new g++ compiler.  The new
library gives a rather large number of obscure errors when trying to
link together any object files that made calls to libg++ functions.  I
think this is from a version mismatch between my link editor and my
assembler which I had to upgrage when I moved to 2.7.2 which outputs
source that the previous one didn't understand.

So in short, GCC worked fine and G++ worked ok as long as your programs don't
use any library calls.  I couldn't spare more than a couple of hours at the
time though, so I had to leave it there.

If someone puts together a 2.7.2 distribution of g++ that will sit on a
2.1.0 release then please let me know!

Regards,
 Damian
-- 
Damian Reeves, <damian@zeus.co.uk>                 Zeus Technology Ltd.
Download the world's fastest webserver today!      http://www.zeus.co.uk