EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: C++ compiler versions
From: "Jeff Hill" <[email protected]>
To: "'Steven Hartman'" <[email protected]>, "'EPICS tech-talk'" <[email protected]>
Date: Fri, 27 Jan 2006 12:25:06 -0700
That's interesting because 3.14.8 builds just fine for Tornado II. 
As I recall Tornado II supplies a quite unusual gnu compiler that is
something like gcc 2.72 married with g++ 2.96.

Nevertheless, SUNWspro-6.0.1 and gcc-2.95 are pretty old. I am going to
guess that the issues involved with gcc-2.95 relate to non compliance 
with the ANSI/ISO C++ standard. 

In principal a patch release should not have forced a compiler change, but
Nevertheless those compilers are quite old, and it might even be that the 
upgrade will be worth the effort.

> I also had problems in the linking stage of C++ modules trying to 
> use SUNWspro-6.0.1, also in libCom.

Its possible that the issue here is related to either a required purge 
for SUNWspro's quirky template database, or that a library (with templates
in it) was built by a different version of SUNWspro. A make rebuild should
prge the template database - as I recall.

Sorry about the hassle.

Jeff

> -----Original Message-----
> From: Steven Hartman [mailto:[email protected]] 
> Sent: Friday, January 27, 2006 10:36 AM
> To: EPICS tech-talk
> Subject: C++ compiler versions
> 
> 
> A point of information for others upgrading EPICS versions. 
> The latest 3.14 versions of base require a newer C++ compiler 
> then previous versions. The old gcc-2.95 which I had 
> succesfuly used to compile 3.14.4 and earlier cannot handle 
> the C++ code in libCom 3.14.8. I also had problems in the 
> linking stage of C++ modules trying to use SUNWspro-6.0.1, 
> also in libCom. I switched to gcc-3.4.5 and everything builds fine.
> 
> This is for the host compiler, not cross-compiler. My build 
> host is Solaris-8 sparc.
> 
> -- 
> Steve Hartman
> [email protected] || 919-660-2650
> Duke Free Electron Laser Laboratory
> 


References:
C++ compiler versions Steven Hartman

Navigate by Date:
Prev: C++ compiler versions Steven Hartman
Next: enhanced seq record Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: C++ compiler versions Steven Hartman
Next: enhanced seq record Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·