*BSD News Article 75835


Return to BSD News archive

#! rnews 1908 bsd
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!usenet.eel.ufl.edu!news-res.gsl.net!news.gsl.net!news.mathworks.com!newsfeed.internetmci.com!in3.uu.net!ott.istar!istar.net!tor.istar!east.istar!news.nstn.ca!coranto.ucs.mun.ca!news.unb.ca!usenet
From: Peter Howlett <Peter.Howlett@ASG.unb.ca>
Newsgroups: gnu.g++.help,comp.unix.bsd.freebsd.misc
Subject: STL with 2.7.2 on FreeBSD 2.1R
Date: Fri, 09 Aug 1996 13:44:48 -0300
Organization: Atlantic Systems Group
Lines: 23
Message-ID: <320B6B00.41C6@ASG.unb.ca>
NNTP-Posting-Host: opie.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; AIX 2)
Xref: euryale.cc.adfa.oz.au gnu.g++.help:12923 comp.unix.bsd.freebsd.misc:25260

We have an stl application which compiles and runs great
on many platforms (Solaris, OSF1, AIX, HP/UX), yet the same
application on a FreeBSD machine continually gives problems
with linking. Much of it can be fixed up by using pragma's.
One of the applications made it through linking by putting
a pragma interface in a local copy of iterator.h and a
pragma implementation in my template instantiation file.
Another application however consistently seems to be
instantiating copies of constructors in a file even though
I compile that file with -fno-implicit-templates. I get
multiple defines within it and my template instantiation file...

Has anyone else had any interesting (ie. enlightening)
experiences with stl on FreeBSD?

Does anyone know if 2.7.3 will perhaps fix some of the problems
with linking stl on FreeBSD?

--------------------------------------------------------------------
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