[tex-live] Stripping LuaTeX with "strip -u -r" to allow loading modules

Mojca Miklavec mojca.miklavec.lists at gmail.com
Sat Apr 22 14:18:01 CEST 2017


On 22 April 2017 at 10:50, Patrick Gundlach wrote:
>> Am 22.04.2017 um 10:23 schrieb Norbert Preining:
>>
>> The Tex live binaries are not build from the build.sh script in the luatex distribution, please look at the svn Build/source/Build script
>
> I see, but I don't understand what is going on there.
>
> Is there a difference in the build process (or in the linking process) compared to the build.sh script from LuaTeX?

If you take a look at LuaTeX's build.sh, you'll notice the following lines:

    STRIP=strip
    case `uname` in
      Darwin     ) STRIP="strip -u -r" ;;
    esac

The TL's build script is way more complex, but in principle it runs

    make world

and that one runs

    make install-strip

See Makefile.am and aclocal.m4.

I suspect that it should be possible to do

    export STRIP="strip -u -r" ./Build

but it would be even better if the default strip command could be
replaced when compiling on Mac (and for Mac rather than with some
cross-compiler).

Mojca


More information about the tex-live mailing list