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

Subject: RE: WIN_32
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: 'Marty Kraimer' <mrkraimer at comcast.net>
Cc: EPICS Tech-Talk <tech-talk at aps.anl.gov>
Date: Fri, 16 Apr 2021 17:18:34 +0000
Hi Marty,

Is this an IOC application or some other type of application?

If it is an IOC application then you typically don't need anything different from Linux, i.e.

PROD_LIBS += $(EPICS_BASE_IOC_LIBS)

Mark



-----Original Message-----
From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Marty Kraimer via Tech-talk
Sent: Friday, April 16, 2021 12:06 PM
To: tech talk <tech-talk at aps.anl.gov>
Subject: WIN_32

What is the best way to make applications build for windows.
I see:
> grep -r "WIN32 +" pvDataCPP normativeTypesCPP pvAccessCPP
> pvDataCPP/configure/CONFIG_SITE:USR_CPPFLAGS_WIN32 += -DNOMINMAX
> normativeTypesCPP/configure/CONFIG_SITE:USR_CPPFLAGS_WIN32 += -DNOMINMAX
> pvAccessCPP/testApp/Makefile:PROD_SYS_LIBS_WIN32 += netapi32 ws2_32
> pvAccessCPP/examples/Makefile:PROD_SYS_LIBS_WIN32 += netapi32 ws2_32
> pvAccessCPP/configure/CONFIG_PVACCESS_MODULE:PROD_SYS_LIBS_WIN32 += 
> netapi32
> pvAccessCPP/configure/CONFIG_SITE:USR_CPPFLAGS_WIN32 += -DNOMINMAX
> pvAccessCPP/src/ca/Makefile:LIB_SYS_LIBS_WIN32 += netapi32 ws2_32
> pvAccessCPP/src/Makefile:LIB_SYS_LIBS_WIN32 += netapi32 ws2_32
> pvAccessCPP/pvtoolsSrc/Makefile:PROD_SYS_LIBS_WIN32 += netapi32 ws2_32
> pvAccessCPP/testCa/Makefile:PROD_SYS_LIBS_WIN32 += netapi32 ws2_32

Is what pvDataCPP and normativeTypesCPP are doing sufficent?

Marty


Replies:
Re: WIN_32 Marty Kraimer via Tech-talk
References:
WIN_32 Marty Kraimer via Tech-talk

Navigate by Date:
Prev: WIN_32 Marty Kraimer via Tech-talk
Next: RE: Python Script call from Button press, module not found Layne (US), William C via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: WIN_32 Marty Kraimer via Tech-talk
Next: Re: WIN_32 Marty Kraimer via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
ANJ, 16 Apr 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·