EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  Index 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: Re: dm2k on alpha
From: "Brian McAllister" <brian@hotrats.mit.edu>
To: Thomas Fechner <tfechner@aip.de>
Cc: tech-talk@aps.anl.gov
Date: Thu, 15 Feb 2001 14:12:13 -0500
>>> "TF" == Thomas Fechner <tfechner@aip.de> writes:

  TF> Hi all, yesterday I tried to compile dm2k-2.5.2 on an alpha server
  TF> with osf1 V5.1 and the standard compaq c compiler. With some small
  TF> adjustments it compiles very well, but after starting and selecting
  TF> Palettes - Resource it core dumps. Does anyone already succeed in
  TF> porting dm2k to alpha?  Thanks in advance for any suggestions or
  TF> comments Th. Fechner

I haven't tried to build dm2k, but based on other experience with porting
to Alphas, look for long vs int problems.  This includes using standard
types (int, etc) instead of typedefs like time_t or Pixel, which can be
architecture specific in size.  Also mixing pointers and ints (pointers are
64-bits on the Alpha).

I had trouble with colors in the old DM because they were declared as "int"
instead of "Pixel", which is typedefed by X as "long".

Did you try turning on *all* the warnings and checks in the compiler ?

----
Brian McAllister                    Controls Programmer/Beam Physicist
mcallister@mit.edu                        MIT-Bates Linear Accelerator
(617) 253-9537                                           Middleton, MA


References:
dm2k on alpha Thomas Fechner

Navigate by Date:
Prev: Re: ss_id for seq_pv functions Ned Arnold
Next: Support for Allen-Bradley PLCs Rarback, Harvey
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: dm2k on alpha Thomas Fechner
Next: ss_id for seq_pv functions Alastair Borrowman
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020