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  <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: Building StreamDevice 2-4 / SynApps / Win32
From: Andrew Johnson <[email protected]>
To: [email protected]
Date: Fri, 12 Mar 2010 10:29:54 -0600
On 3/12/10 9:47 AM, Mark Rivers wrote:
>
> EPICS is advertised to build on Windows with only "make" and "perl"
> (plus a MS compiler) required.  Windows does not come with a shell that
> will understand Dirk's script, right?  So what shell would you point to?

EPICS Base is thus advertised, but if an EPICS module provides its own Make 
rules like this one in StreamDevice that promise doesn't necessarily apply to 
it.  In this case I'm guessing Dirk didn't think about this particular 
circumstance when he wrote that rule.

On Friday 12 March 2010 09:58:56 J. Lewis Muir replied:
>
> In that case, the for loop command for the target to
> build stream.dbd is clearly intended to be run by a Bourne shell and
> thus will not work if that shell is not present.  So the make target is
> broken.  It needs to be changed to use perl to do the for loop (or maybe
> there's some way to do it w/ GNU make built-in commands).

I fully agree with your assessment of the problem.  I suspect that Perl is not 
essential for the solution, which could probably be written in a combination 
of GnuMake and an additional .dbd file, using $(patsubst ...) to generate the 
record-specific text, but we do use it internally - makeIncludeDbd.pl would be 
a good place to start from.

- Andrew
-- 
The best FOSS code is written to be read by other humans -- Harald Welte


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 J. Lewis Muir

Navigate by Date:
Prev: Re: Building StreamDevice 2-4 / SynApps / Win32 J. Lewis Muir
Next: Controls Application Programmer Position at SLAC Ernest L. Williams Jr.
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: 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  2020  2021  2022  2023  2024 
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 ·