[tex-live] stripped binaries? (cygwin 64)
Ken Brown
kbrow1i at gmail.com
Mon Mar 14 15:18:20 CET 2016
On 3/14/2016 9:56 AM, Ken Brown wrote:
> On 3/14/2016 6:52 AM, David Carlisle wrote:
>> For various reasons I've been building texlive from an rsync'ed copy
>> of the texlive svn head and also luatex from the luatex svn
>> experimental branch.
>>
>> Both seem to work but I notice that luatex.exe is 4 times larger if
>> built from the texlive tree
>>
>> -rwxr-xr-x 1 davidc Domain Users 9425920 Mar 13 13:12
>> ./build/texk/web2c/luatex.exe
>> -rwxr-xr-x 1 davidc Domain Users 41666668 Mar 12 17:04
>> /usr/local/texlive/2015/bin/x86_64-cygwin/luatex.exe
>>
>>
>> There are of course some minor differences as the top one is 0.89.5
>> experimental and the bottom one is .89.4 but the main difference seems
>> to be that the first one is stripped.
>>
>> file reports
>>
>> ./build/texk/web2c/luatex.exe: PE32+ executable
>> (console) x86-64 (stripped to external PDB), for MS Windows
>>
>> /usr/local/texlive/2015/bin/x86_64-cygwin/luatex.exe: PE32+ executable
>> (console) x86-64, for MS Windows
>>
>>
>> In both cases I used the supplied build script to configure/make
>>
>> so the luatex experimental built with build.sh from:
>>
>> https://foundry.supelec.fr/scm/viewvc.php/branches/experimental/?root=luatex
>>
>>
>> and the texlive svn one built with Build from
>>
>> https://www.tug.org/svn/texlive/trunk/Build/source/
>
> Hi David,
>
> On my last build of TeX Live from the svn repository (March 5), I got
> the following on cygwin64:
>
> $ ls -l inst/bin/x86_64-unknown-cygwin/luatex.exe
> -rwxr-xr-x 1 kbrown None 9425408 2016-03-05 11:23
> inst/bin/x86_64-unknown-cygwin/luatex.exe*
>
> $ file inst/bin/x86_64-unknown-cygwin/luatex.exe
> inst/bin/x86_64-unknown-cygwin/luatex.exe: PE32+ executable (console)
> x86-64 (stripped to external PDB), for MS Windows
>
> I'm not sure why your binary wasn't stripped. Can you tell by looking
> at the build log? Here's the relevant line from mine:
>
> libtool: install: /bin/sh
> /home/kbrown/src/texlive/test.x86_64/build-aux/install-sh -c -s
> .libs/luatex.exe
> /home/kbrown/src/texlive/test.x86_64/inst/bin/x86_64-unknown-cygwin/luatex.exe
I should have mentioned that I build using --enable-shared, but that
shouldn't affect whether or not the executable is stripped.
Ken
More information about the tex-live
mailing list