EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: GDCT/freeGDCT under solaris
From: Tony Cox - (415)926-3105 <[email protected]>
To: [email protected]
Cc: [email protected]
Date: Fri, 08 Dec 1995 10:57:21 PST
Rozelle writes:-

>Hi Greg,
>I built freegdct under Solaris.  The Makefile.start that is currently being distributed needs
>to be changed to 
>	@case "$(HOST_ARCH)" in \
>	sun4|solaris) \
>	
>instead of just sun4.  And you have to have a decent copy of interviews.
>I got mine from Jim Kowalski at Argonne.  He had modified it
>so that it worked with Solaris.


Note that the Alpha/Unix version of interviews from interviews.stanford.edu
is badly broken. In fact, it doesn't seem to work at all. I fixed the problems
with Interviews, essentially from scratch, at least as far as providing
sufficient functionality to get free_gdct working.

For those porting to other architectures (esp. 64 bit ones), look out for
the usual confusion between `int's and `long's. A wonderful `gotcha' in
C++ is that class definitions like this:-

	class rubbish : public otherRubbish {
		.....

		void someFunction( int, ....);
		....
	}

do not reveal the important fact that 'someFunction' may be declared to be 
virtual in a superclass. Hence, simply changing `int' to `long' completely
changes the operation of the program - silently, since C++ compilers see
these routines as completely different & most don't bother to inform you that
'someFunction' is masking a virtual function further up the class hierarchy.

InterViews is full of stuff like that. If anyone wants the (pseudo)working
Alpha/Unix Interviews, I'll be glad to provide...

Tony

--------------------------------------------------------------------------------
Dr Anthony D Cox
Computer Systems Specialist
Stanford Synchrotron Radiation Laboratory
Stanford Linear Accelerator Center
MS 69, Box 4349
Stanford CA 94305
[email protected]
--------------------------------------------------------------------------------


Navigate by Date:
Prev: Re: A C++ API for the pcas Jeff Hill
Next: Re: building vxWorks for nitro-260 Bill Brown
Index: 1994  <19951996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: GDCT/freeGDCT under solaris Rozelle Wright
Next: Replacing default.dctsdr with all ascii files Marty Kraimer
Index: 1994  <19951996  1997  1998  1999  2000  2001  2002  2003  2004  2005  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 ·