EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: EPICS host architectures
From: Andrew Johnson <[email protected]>
To: [email protected]
Date: Fri, 8 Jun 2012 16:32:23 -0500
Hi Benjamin,

On 2012-06-08 Benjamin Franksen wrote:
> A question:
> 
> Can I assume that the type 'long long' exists on all EPICS *host*
> architectures and has at least size 8 (64 bit)?
> 
> Context: I would like to use a 64 bit integral type in the implementation
> of the SNL compiler (snc).

Good question…  I think that should be OK, I can't think of a supported host 
architecture that doesn't have a 64-bit long long type.  There is a header 
that's part of GLIBC that contains the text:

   Here we assume what is presently the case in all the GCC configurations
   we support: long long is always 64 bits, long is always word/address size,
   and int is always 32 bits.

MS Visual Studio supports long long at least back to the .NET 2003 release, 
and even the vxWorks compilers will accept the type, their limitation being 
that I believe vxWorks 5.4.x is missing some of the support routines necessary 
to actually use it.

Since 3.15 will not support vxWorks 5.4.x I've just added the typedefs for 
epicsInt64 and epicsUInt64 to epicsTypes.h (they may have been available on 
some targets, but most don't define __STDC_VERSION__ >= 199901L so in practice 
they weren't actually usable).

- Andrew
-- 
Never interrupt your enemy when he is making a mistake.
-- Napoleon Bonaparte


Replies:
Re: EPICS host architectures Benjamin Franksen
References:
EPICS host architectures Benjamin Franksen

Navigate by Date:
Prev: RE: ASYN 4-19 createParam return status Mark Rivers
Next: Runaway connection count on IOC michael.abbott
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: EPICS host architectures Benjamin Franksen
Next: Re: EPICS host architectures Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·