Experimental Physics and Industrial Control System
Hi Ralph,
I don't know the details, but I suspect this will impact the large number of sites (like Diamond) that have not upgraded to VxWorks 6. This may be because when EPICS moved to 3.14 and the IOC became portable, a lot of us decided that our futures lay elsewhere. Our VxWorks (5.5.1) compiler says:
[npr78@cs03r-sc-serv-16 ~]$ ccppc -v
Reading specs from /dls_sw/targetOS/vxWorks/Tornado-2.2/host/i386-Linux/bin/../lib/gcc-lib/powerpc-wrs-vxworks/gcc-2.96/specs
gcc version gcc-2.96 (2.96+) 19990621 AltiVec
... and the VxWorks unistd.h defines:
/* POSIX defines */
#ifndef _POSIX_VERSION
#define _POSIX_VERSION 199506L
#endif
#ifndef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 199506L
#endif
Cheers
Nick Rees
Principal Software Engineer Phone: +44 (0)1235-778430
Diamond Light Source Fax: +44 (0)1235-446713
________________________________________
From: [email protected] [[email protected]] on behalf of Ralph Lange [[email protected]]
Sent: 24 October 2012 14:25
To: [email protected]
Subject: Re: RFC: libCom/osi - new spinlock API
Hi,
to get access to the Posix spinlocks, one must set
-D_POSIX_C_SOURCE=200112L (or greater).
Currently, base uses -D_POSIX_C_SOURCE=199506L.
Should we change this globally? Would this break anything?
Clueless,
~Ralph
--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
- Replies:
- Re: RFC: libCom/osi - new spinlock API Andrew Johnson
- References:
- RFC: libCom/osi - new spinlock API Ralph Lange
- Re: RFC: libCom/osi - new spinlock API Andrew Johnson
- Re: RFC: libCom/osi - new spinlock API Ralph Lange
- Re: RFC: libCom/osi - new spinlock API Andrew Johnson
- Re: RFC: libCom/osi - new spinlock API Ralph Lange
- Navigate by Date:
- Prev:
Re: RFC: libCom/osi - new spinlock API Ralph Lange
- Next:
Re: RFC: libCom/osi - new spinlock API Andrew Johnson
- Index:
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: RFC: libCom/osi - new spinlock API Ralph Lange
- Next:
Re: RFC: libCom/osi - new spinlock API Andrew Johnson
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024