<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 29, 2019 at 11:41 PM Henri Menke <<a href="mailto:henrimenke@gmail.com">henrimenke@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"><br>
Dear list, (especially Hans and Luigi)<br>
<br>
Would it be possible to have the build system generate static libraries<br>
of the executables as well?  That is to say, instead of generating<br>
luatex.exe, generate luatex.a which can then be turned into an<br>
executable in one linking step.<br>
<br>
The rationale is that I want to link additional static and/or dynamic<br>
libraries into LuaTeX but I don't want to go through the whole trouble<br>
of adding these libraries to the build system.  If there was a single<br>
static library `lua(jit)tex.a' which I could be used like<br>
<br>
    gcc -o myluatex luatex.a<br>
<br>
then this would become very easy.<br></blockquote><div><br></div><div>Could be doable if we keep  a very simple API (kind of:  one function to set up options and one function to run).</div><div>You can locally clone the svn repo and play a bit with the code, taking the win32 as reference.</div><div> </div></div>-- <br><div dir="ltr" class="gmail_signature">luigi<br></div></div>