EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  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  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: ANSI compilation error for ppc604 target.
From: Andrew Johnson <[email protected]>
To: Bryan Moffit <[email protected]>
Cc: [email protected]
Date: Fri, 14 May 2004 09:29:18 -0500
Bryan Moffit wrote:
I'm having some trouble compiling the baseR3.14.5 with ccppc version
2.95.4 on Enterprise Linux for a ppc604 target (running vxWorks5.4).  I'm
not having this trouble with baseR3.13.4, but maybe it doesn't try include
netinet/in.h.  Here's the make error:

Where did you get that particular compiler from, and why do you think it will work with vxWorks 5.4? Our Tornado 2.0 and 2.0.2 installations (vxWorks versions 5.4 and 5.4.2) report this compiler version:


phoebus% /usr/local/vw/tornado20/host/sun4-solaris2/bin/ccppc -v
gcc driver version cygnus-2.7.2-960126 egcs-971225 tornado 2.0 executing gcc version cygnus-2.7.2-960126


Our Tornado 2.2 installation (vxWorks 5.5) reports this version:

phoebus% /usr/local/vw/tornado22/host/sun4-solaris2/bin/ccppc -v
Reading specs from /usr/local/vw/tornado22/host/sun4-solaris2/lib/gcc-lib/powerpc-wrs-vxworks/gcc-2.96/specs
gcc version gcc-2.96 (2.96+) 19990621 AltiVec VxWorks 5.5


Both of the above compilers can be built for Linux from source code provided by David Thompson of SNS at the following URL:
http://ics-web1.sns.ornl.gov/share/crossGCC/
These versions build all EPICS versions properly on PowerPC, and I would strongly recommend that you use them instead of trying to "fix" EPICS - you'll end up with problems at load time if you use the wrong compiler version because the exception handling support code that the OS must provide is very different between these versions of GCC.


- Andrew Johnson
--
Dear God, I didn't think orange went with purple until I saw
the sunset you made last night.  That was really cool. - Caro


References:
ANSI compilation error for ppc604 target. Bryan Moffit

Navigate by Date:
Prev: ANSI compilation error for ppc604 target. Bryan Moffit
Next: building R3.13 extensions with R3.14.5 Geoff Savage
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: ANSI compilation error for ppc604 target. Bryan Moffit
Next: building R3.13 extensions with R3.14.5 Geoff Savage
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·