[luatex] Using a Lua C .so module with LuaLaTeX

Deepak Jois deepak.jois at gmail.com
Tue Nov 17 15:23:34 CET 2015


On Tue, Nov 17, 2015 at 5:44 PM, Mojca Miklavec
<mojca.miklavec.lists at gmail.com> wrote:
> On Tue, Nov 17, 2015 at 12:48 PM, luigi scarso wrote:
>>
>>> Luigi, what exactly does the following chunk of code do in build.sh?
>>>
>>> if [ "$STRIP_LUATEX" = "FALSE" ]
>>> then
>>>     export CFLAGS
>>>     export CXXFLAGS
>>> fi
>>
>>
>> uh.. it's there from beta-0.72.0.. I don't remember.
>> Could be a leftover from the --debug switch, probably not all the code taken
>> the -g switches correctly at that time.
>> We will  remove for TL 2016, if the case.
>
> My question is: can you explain the difference?
>
> I'm unable to understand what is different when you call that export
> and when you don't. Because the --nostrip binaries are 50% bigger even
> after I run strip manually and this seems like the only place one
> could blame for the difference.
>

I commented out the lines of code above, did a --nostrip build and
then stripped the binaries manually. The file size after stripping is
now 8632136. Clearly, those lines seem to make some sort of
difference.

Deepak


More information about the luatex mailing list