<div dir="ltr"><div><br></div><div>> 
Can you please try what happens if you simply take luametatex.exe <br></div><div><br></div><div>same as always happens if you use  a windows binary in cygwin:-)</div><div><br></div><div>It would sort of half work in simple cases, but it will not understand the virtual posix filesystem layer.</div><div>So it will not understand cygwin symbolic links, if the environment has TEXINPUTS=/home/davidc/foo://  it will not look in c:\cygwin64\home\davidc\foo, if I shell-escape from the document I won't end up in a bash shell by default....</div><div><br></div><div>There are workarounds for all these things (I've been using a windows java from cygwin for decades)</div><div>but especially when the 
luametatex call is deeply embedded in l3build or a cygwin makefile or whatever, getting the windows environment in sync with cygwin is tricky and if symlinks are involved not worth the effort.  I have access to wsl on this machine, plus a whole network of linux boxes I could use remotely, and since I updated the server to texlive 2023 yesterday I could even use 
luametatex online as <br></div><div><br></div><div><a href="https://texlive.net/run?%25%20!TeX%20context%0A%5Csetupbodyfont%5Bdejavu%5D%5Cstarttext%20%24f_0%24%20%5Cstoptext">https://texlive.net/run?%25%20!TeX%20context%0A%5Csetupbodyfont%5Bdejavu%5D%5Cstarttext%20%24f_0%24%20%5Cstoptext</a></div><div><br></div><div>But my main working environment and tex systems are  cygwin, so I'd find it more convenient to use it there (I can compile luatex from source, but luametatex seems more challenging)</div><div><br></div><div>David</div><div><br></div><br><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 22 Mar 2023 at 08:20, Mojca Miklavec <<a href="mailto:mojca.miklavec.lists@gmail.com">mojca.miklavec.lists@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear David,<br>
<br>
On Mon, 20 Mar 2023 at 22:26, David Carlisle <<a href="mailto:d.p.carlisle@gmail.com" target="_blank">d.p.carlisle@gmail.com</a>> wrote:<br>
><br>
> luametatex doesn't seem available on cygwin unfortunately. (I tried compiling it but most of the #ifdef guards in luatex have gone:(<br>
<br>
Can you please try what happens if you simply take luametatex.exe (as<br>
well as context.exe, context.lua, mtxrun.exe, mtxrun.lua) from<br>
Windows?<br>
The three binaries are merely copies of each other, the lua scripts<br>
are the same for all platforms.<br>
(There are different flavours of Windows builds available at<br>
<a href="https://dl.contextgarden.net/build/luametatex/main/" rel="noreferrer" target="_blank">https://dl.contextgarden.net/build/luametatex/main/</a>)<br>
<br>
I strongly suspect that this should "simply work", and in case it<br>
does, I would take the windows binaries and place them under cygwin.<br>
<br>
Apart from that: can you please send me/Hans some build errors (it can<br>
be done off-list)?<br>
<br>
Mojca<br>
</blockquote></div>