<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 26, 2016 at 2:13 AM, Robert Krug <span dir="ltr"><<a href="mailto:destiny6@mac.com" target="_blank">destiny6@mac.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
(All this is on OS X 10.10.5)<br>
<br>
Edited source/texk/web2c/Makefile.in to make the call to g++ which creates the luatex<br>
executable verbose, grabbed the output, added:</blockquote></div><br clear="all"><div>Makefile.in are generated by autotools, so you should modify the am/ac files instead.<br></div><div>Luatex is part of TeXLive, so we follow the rules of TeXLive , and currently we are using <br></div><div><div>autoconf-2.69</div><div>automake-1.15<br></div><div>libtool-2.4.6<br></div><div><br></div></div><div>Practically, you can have a local branch like experimental (let's say luatexlib) on your machine, </div><div>and use the --shared switch of build-shared.sh (see the branch experimental). </div><div>You have to modify the am/ac/c/h files so that in the end the libluatex.* will be in </div><div>build-shared/texk/web2c<br></div><div>Luatex can be built with links to the shared libs gmp, poppler, mpfr,.. so </div><div>a logic way is to build libluatex.so without the static version of these libs, </div><div>but this is not completely true for lua for example, because we have our custom lua 5.2.... so ,well, it's not easy.</div><div>Probably it's better to build a shared libluatex with the static libs, as is now the luatex program.</div><div>We already have a mingw shared that mimics the w32tex of luatex , that uses the dll (mandatory for swiglib)</div><div>perhaps you can see that code.</div><div><br></div><div><br></div>-- <br><div class="gmail_signature">luigi<br></div>
</div></div>