*BSD News Article 66619


Return to BSD News archive

#! rnews 2989 bsd
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!agate!ihnp4.ucsd.edu!usc!howland.reston.ans.net!newsfeed.internetmci.com!uwm.edu!fnnews.fnal.gov!stc06.ctd.ornl.gov!news.er.usgs.gov!mcmcnews.cr.usgs.gov!news.cs.indiana.edu!news.nstn.ca!coranto.ucs.mun.ca!news.unb.ca!usenet
From: Peter Howlett <Peter.Howlett@ASG.unb.ca>
Newsgroups: comp.unix.bsd.freebsd.misc,gnu.g++.help
Subject: Re: FreeBSD2.1R, gcc-2.7.2 and libg++.2.7.1
Date: Sat, 20 Apr 1996 17:04:58 +0000
Organization: Atlantic Systems Group
Lines: 46
Message-ID: <3179193A.41C67EA6@ASG.unb.ca>
References: <MAGNER.96Apr17154327@hstud1.cs.uit.no> <317624AF.41C6@ASG.unb.ca> <4l8ut7$hi3@soda.CSUA.Berkeley.EDU>
NNTP-Posting-Host: bunny.asg.unb.ca
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0 (X11; I; FreeBSD 2.1.0-RELEASE i386)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:17890 gnu.g++.help:11551

Anthony Monroe wrote:
> 
> In article <317624AF.41C6@ASG.unb.ca>,
> Peter Howlett  <Peter.Howlett@ASG.unb.ca> wrote:
> >
> >I got it compiled a couple of weeks ago, but I had to install
> >gas first, build gcc with it, then build libg++. I have a
> >binary for gas if you want it, you will find that it does not
> >build with the configure script off the regular release from
> >ftp://prep.ai.mit.edu/pub/gnu  and needs to know the object
> >file format for FreeBSD and a couple of other options. If you
> >would like it, I can mail it to you. Maybe I should stick it
> >in the FreeBSD incoming directory?
> 
> I'm sure there are a lot of people who would appreciate such a deed.

Ok, its on ftp://ftp.freebsd.org/pub/FreeBSD/incoming/gas.2.6.gz 
and is compiled on 2.1 Release.

> I probably would have time to tackle my libg++ problems if I didn't
> have to attend all these pesky classes that I signed up for. :)
> 
> Of course, I'm not looking forward to having to rebuild gcc, but if that's
> what it takes, then...that's what it takes. *sigh*

Interesting to note that I am experiencing some STL problems on
the FreeBSD box. Compiling a simple program using a list<int>
template with -fno-implicit-templates give me multiple defines
for a couple of the iterators. The multiple defines occur when 
the templates are instantiated in a separate file from the one 
actually using the list<int>. They are:

bidirectional_iterator_tag
output_iterator_tag

I can compile the exact same program on our RS/6000, Solaris 2.4,
SunOS 4.1.3, HPUX 10 boxes without a hitch. I do however get
this same problem on the NetBSD 1.0 box I have as well.

If anyone finds out why this is, please let me know...

--------------------------------------------------------------------
Peter Howlett                           Atlantic Systems Group
E-Mail: Peter.Howlett@ASG.unb.ca        Fredericton, N.B. Canada
http://www.ASG.unb.ca/personal/ph.html  Phone: (506) 447-3050
PGP Key ID: 60F2EEC1                    Fax:   (506) 453-5004