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  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  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 
<== Date ==> <== Thread ==>

Subject: Re: Building StreamDevice 2-4 / SynApps / Win32
From: John Dobbins <john.dobbins@cornell.edu>
To: "J. Lewis Muir" <jlmuir@anl.gov>
Cc: EPICS Tech-Talk <tech-talk@aps.anl.gov>
Date: Fri, 12 Mar 2010 10:34:45 -0500
J. Lewis Muir wrote:
On 3/11/10 10:55 PM, Mark Rivers wrote:
I don't think shell is important on Windows, you can build EPICS in a
Cygwin bash shell or a Windows cmd shell without having to worry about
it.

Hi, Mark.


Note I'm not talking about the shell from which the make command is
executed; I'm talking about the shell that make uses to execute commands
for a given target.

Lewis


Lewis, Mark, All,

It seems to me that an easy thing would be to write a Perl script that replicates this code (which is just generating a test file):

# create stream.dbd from all RECORDS
$(COMMON_DIR)/$(LIBRARY_DEFAULT).dbd: ../CONFIG_STREAM
@for r in $(RECORDS); \
do echo "device($$r,INST_IO,dev$${r}Stream,\"stream\")"; \
done > $@
@echo "driver(stream)" >> $@
@echo "variable(streamDebug, int)" >> $@
@echo "registrar(streamRegistrar)" >> $@


endif

I can do that but am not sure about how to invoke the Perl script and pass from $(RECORDS) to the Perl script.

It would be nice to not have this one part of EPICS dependent on cygwin when the rest it not.


John

Replies:
Re: Building StreamDevice 2-4 / SynApps / Win32 J. Lewis Muir
References:
Building StreamDevice 2-4 / SynApps / Win32 John Dobbins
RE: Building StreamDevice 2-4 / SynApps / Win32 Mark Rivers
RE: Building StreamDevice 2-4 / SynApps / Win32 John Dobbins
RE: Building StreamDevice 2-4 / SynApps / Win32 Mark Rivers
Re: Building StreamDevice 2-4 / SynApps / Win32 J. Lewis Muir
Re: Building StreamDevice 2-4 / SynApps / Win32 John Dobbins
Re: Building StreamDevice 2-4 / SynApps / Win32 J. Lewis Muir
RE: Building StreamDevice 2-4 / SynApps / Win32 Mark Rivers
Re: Building StreamDevice 2-4 / SynApps / Win32 J. Lewis Muir

Navigate by Date:
Prev: Re: Building StreamDevice 2-4 / SynApps / Win32 J. Lewis Muir
Next: Re: Building StreamDevice 2-4 / SynApps / Win32 J. Lewis Muir
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 
Navigate by Thread:
Prev: Re: Building StreamDevice 2-4 / SynApps / Win32 J. Lewis Muir
Next: Re: Building StreamDevice 2-4 / SynApps / Win32 J. Lewis Muir
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 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·