> 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:
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.
From: Benjamin Franksen <firstname.lastname@example.org>
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.
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/).
> @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.
"Make it so they have to reboot after every typo." ― Scott Adams