EPICS Home

Experimental Physics and Industrial Control System


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

Subject: RE: Soft IOC on Windows PC
From: "Mark Rivers" <[email protected]>
To: "Gorka Ronda" <[email protected]>, <[email protected]>
Date: Fri, 16 Jul 2010 06:14:13 -0500
Hi Gorka,
 
You need to chose which architecture to build for.  The ones I have used are cygwin-x86, and win32-x86.  cygwin-x86 requires that you install the Cygwin package, while win32-x86 requires the Microsoft VC compiler (plus perl and GNU make, which I get from Cygwin).
 
You build your EPICS application just as you would for Linux or vxWorks.  The EPICS build system will create a Windows executable (.exe) file which is your application.  You then start that application and pass it the name of a startup script (st.cmd) that configures your IOC.
 
I typically modify <base>/configure/os/CONFIG_SITE.win32-x86.win32-x86 and CONFIG_SITE.cygwin-x86.cygwin-x86 to contain the lines
 
SHARED_LIBRARIES=NO
STATIC_BUILD=YES
 
so that the .exe file is standalone and does not require a lot of DLLs to run it.  I find that makes distribution to non-development systems easier, but that's a personal preference.
 
Mark
 

________________________________

From: [email protected] on behalf of Gorka Ronda
Sent: Fri 7/16/2010 5:36 AM
To: [email protected]
Subject: Soft IOC on Windows PC



Hi all,

 

Can anyone tell me what steps to take to create a Soft Or 'Host-based' IOC on a Windows PC? The PC will control a board connected via RS-232. I have to use StreamDevice device support with its interface to asynDriver?

 

Thanks in advance

 

Gorka Ronda



Replies:
RE: Soft IOC on Windows PC Jeff Hill
References:
Soft IOC on Windows PC Gorka Ronda

Navigate by Date:
Prev: Soft IOC on Windows PC Gorka Ronda
Next: RE: areaDetector problem John Dobbins
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Soft IOC on Windows PC Gorka Ronda
Next: RE: Soft IOC on Windows PC Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024