Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: Cross compiler source and patch file for gcc-2.7.2 on Linux
From: Andrew Johnson <anj@aps.anl.gov>
To: Brian McAllister <brian@hotrats.mit.edu>
Cc: tech-talk@aps.anl.gov
Date: Fri, 12 Jul 2002 17:05:34 -0500
Brian McAllister wrote:
> 
> >>> On 7/12/2002 at 16:40:49 CDT, Andrew Johnson wrote:
> 
>   > EPICS 3.14 needs a fairly modern C++ compiler to compile - 2.7.2 is way
>   > too old.  You *will* have to use a version of gcc built from the
>   > official WRS sources, and Tornado 2.x when you want to upgrade to that
>   > (which is exactly where Ernest Williams and David Thompson came in with
>   > this problem).
> 
> The version from WRS is still "2.7.2".
>
> Has WRS really hacked better C++ support into it, instead of migrating to
> the newer gcc ?

No, the WRS version is a combination of a gcc-2.7.2 C compiler back end
(modified by cygnus, probably with various bug fixes added), and later
versions of the G++ back end.  In Tornado 2.0 the C++ compiler was based
on EGCS 1.0.2, in the new Tornado 2.1 and 2.2 releases I believe it's
based on the Red-Hat gcc-2.96, or maybe something newer (not sure about
the Tornado 2.2 C compiler back-end).

I think WRS pay Red Hat to produce compiler versions to their
specification.  The problems Ernest and Dave wrestled with when they tried
to build a C++ cross-compiler from GNU sources were associated with name
mangling changes, and the fact that exception support is different for
each of these g++ versions.

- Andrew
-- 
Larry McVoy: "Learn how to think in C++ but don't ever program in it."

References:
Re: Cross compiler source and patch file for gcc-2.7.2 on Linux Brian McAllister

Navigate by Date:
Prev: Re: Cross compiler source and patch file for gcc-2.7.2 on Linux Brian McAllister
Next: epics 3.14.0Base1 build problem Peter Kurpis
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Re: Cross compiler source and patch file for gcc-2.7.2 on Linux Brian McAllister
Next: RE: Cross compiler source and patch file for gcc-2.7.2 on Linux dht
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·