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  <20182019  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  <20182019 
<== Date ==> <== Thread ==>

Subject: RE: Seq-2.2.5 compilation on windows
From: Mark Rivers <rivers@cars.uchicago.edu>
To: Benjamin Franksen <benjamin.franksen@helmholtz-berlin.de>, 'Ralph Lange' <ralph.lange@gmx.de>, EPICS Tech Talk <tech-talk@aps.anl.gov>
Date: Mon, 22 Jan 2018 20:15:38 +0000

Hi Ben,

 

Alternatively re2c could be bundled with the sequencer and built with the EPICS build system.  This is actually what you do with lemon, correct?  It is also what I do with for  blosc, tiff, jpeg, xml2, netcdf, hdf5, graphicsmagick, szip, and zlib in areaDetector/ADSupport.  Many of those are available as Linux packages, but are difficult to find or build for Windows.

 

Mark

 

 

From: Mark Rivers
Sent: Monday, January 22, 2018 8:35 AM
To: Benjamin Franksen <benjamin.franksen@helmholtz-berlin.de>; 'Ralph Lange' <ralph.lange@gmx.de>; EPICS Tech Talk <tech-talk@aps.anl.gov>
Subject: Re: Seq-2.2.5 compilation on windows

 

> I think I should update the link in the docs to point at the re2c home page (http://re2c.org/), rather than the (outdated)
> sourceforge page (https://sourceforge.net/projects/re2c/files/).

 

The problem with that is that the re2c.org site does not provide pre-built Windows binaries, and building it for Windows is non-trivial.  EPICS supports building on Windows with Visual Studio.  But the re2c docs say that only cygwin or mingw are supported.  That means EPICS Windows users would need 2 compilers.  Not only that, but it requires the "configure" utility, which means it needs not only another compiler, but another shell and Linux-like utilities.  

 

A zip file with a single pre-built executable is much simpler.  Note that this is what Andrew Johnson has done for Gnumake (https://epics.anl.gov/download/tools/make-4.1-win64.zip), and it is very convenient.

 

Note that if one Googles "re2c Windows" the first hit is this page:

http://gnuwin32.sourceforge.net/packages/re2c.htm

 

That is version 0.9.4, and does not work with the sequencer.  This is probably what Vishnu found and used.   I had to search to find the site with pre-built 0.13.5, which is why I suggested putting a link to it in the seq docs.

 

Mark

 

 


From: Benjamin Franksen <benjamin.franksen@helmholtz-berlin.de>
Sent: Monday, January 22, 2018 8:05 AM
To: Mark Rivers; 'Ralph Lange'; EPICS Tech Talk
Subject: Re: Seq-2.2.5 compilation on windows

 

Hi Mark and Ralph

thanks for the suggestions.

On 01/21/2018 06:07 PM, Mark Rivers wrote:
> I think it would be useful to add the link for the 0.13.5 prebuilt to
> the sequencer documentation.
>
> https://sourceforge.net/projects/re2c/files/old/

Note that the section on prerequisites states:

"""
The minimum version required is 0.9.9, but I recommend using the latest
version that is avaliable for your system.
"""

I have just checked that the sequencer works with the latest release
(1.0.3). I think I should update the link in the docs to point at the
re2c home page (http://re2c.org/), rather than the (outdated)
sourceforge page (https://sourceforge.net/projects/re2c/files/).

Ralph:
> @Ben: is there an easy way to add a check to the SNL build that would
> give a more obvious indication?

I guess so; re2c responds to --version. May need to write some perl code
and see that it gets executed before building snc.

Cheers
Ben
--
"Make it so they have to reboot after every typo." ― Scott Adams


Replies:
RE: Seq-2.2.5 compilation on windows freddie.akeroyd
References:
Re: Seq-2.2.5 compilation on windows Mark Rivers
Re: Seq-2.2.5 compilation on windows Vishnu Patel
Re: Seq-2.2.5 compilation on windows Ralph Lange
RE: Seq-2.2.5 compilation on windows Mark Rivers
Re: Seq-2.2.5 compilation on windows Benjamin Franksen
Re: Seq-2.2.5 compilation on windows Mark Rivers

Navigate by Date:
Prev: Re: IOC crash Ronald L. Sluiter
Next: RE: Seq-2.2.5 compilation on windows freddie.akeroyd
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  <20182019 
Navigate by Thread:
Prev: Re: Seq-2.2.5 compilation on windows Mark Rivers
Next: RE: Seq-2.2.5 compilation on windows freddie.akeroyd
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  <20182019 
ANJ, 22 Jan 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·