[luatex] Generate static libraries of the executables

luigi scarso luigi.scarso at gmail.com
Fri Aug 30 18:26:39 CEST 2019

On Thu, Aug 29, 2019 at 11:41 PM Henri Menke <henrimenke at gmail.com> wrote:

> Dear list, (especially Hans and Luigi)
> Would it be possible to have the build system generate static libraries
> of the executables as well?  That is to say, instead of generating
> luatex.exe, generate luatex.a which can then be turned into an
> executable in one linking step.
> The rationale is that I want to link additional static and/or dynamic
> libraries into LuaTeX but I don't want to go through the whole trouble
> of adding these libraries to the build system.  If there was a single
> static library `lua(jit)tex.a' which I could be used like
>     gcc -o myluatex luatex.a
> then this would become very easy.

Could be doable if we keep  a very simple API (kind of:  one function to
set up options and one function to run).
You can locally clone the svn repo and play a bit with the code, taking the
win32 as reference.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/luatex/attachments/20190830/19288969/attachment.html>

More information about the luatex mailing list