Experimental Physics and Industrial Control System
|
If it’s of any help, I have put re2c into the EPICS build system
https://github.com/FreddieAkeroyd/EPICS-re2c at the moment it just configures on windows, but it would be easy to extend
Regards,
Freddie
From: [email protected] [mailto:[email protected]]
On Behalf Of Mark Rivers
Sent: 22 January 2018 20:16
To: Benjamin Franksen; 'Ralph Lange'; EPICS Tech Talk
Subject: RE: Seq-2.2.5 compilation on windows
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
> 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 <[email protected]>
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 Benjamin Franksen
- 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
- RE: Seq-2.2.5 compilation on windows Mark Rivers
- Navigate by Date:
- Prev:
RE: Seq-2.2.5 compilation on windows Mark Rivers
- Next:
How to work with motor record position counts larger than 2147483648? Sobhani, Bayan
- 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
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: Seq-2.2.5 compilation on windows Mark Rivers
- Next:
Re: Seq-2.2.5 compilation on windows Benjamin Franksen
- 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
2021
2022
2023
2024
|
ANJ, 23 Jan 2018 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|