[tex-live] 64 bits version of TeX Live on Windows

Vincent Torri vincent.torri at gmail.com
Fri Jul 1 18:34:30 CEST 2016


On Fri, Jul 1, 2016 at 5:00 PM, Angelo Graziosi
<angelo.graziosi at alice.it> wrote:
> Vincent Torri wrote:
>>
>> after the checkout of the TeX Live tree,  I run
>>
>> ./Build --build=x86_64-w64-mingw32 --host =x86_64-w64-mingw32
>
>
>
> If I try
>
>   ./Build --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32
>
>
> from msys2 shell [1], it fails, obviously, as:

it obviously does not fail on my computer.

>
> $ ./Build --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32
> [...]
>
> + eval ../configure --prefix=/tmp/tlsrc/inst --datadir=/tmp/tlsrc/inst
> --disable-missing --enable-largefile --disable-shared
> --with-xdvi-x-toolkit=xaw --build=x86_64-w64-mingw32
> --host=x86_64-w64-mingw32
> ../configure --prefix=/tmp/tlsrc/inst --datadir=/tmp/tlsrc/inst
> --disable-missing --enable-largefile --disable-shared
> --with-xdvi-x-toolkit=xaw --build=x86_64-w64-mingw32
> --host=x86_64-w64-mingw32
> ++ ../configure --prefix=/tmp/tlsrc/inst --datadir=/tmp/tlsrc/inst
> --disable-missing --enable-largefile --disable-shared
> --with-xdvi-x-toolkit=xaw --build=x86_64-w64-mingw32
> --host=x86_64-w64-mingw32
> configure: loading site script /etc/config.site
> checking build system type... x86_64-w64-mingw32
> checking host system type... x86_64-w64-mingw32
> checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc
> checking whether the C compiler works... no
> configure: error: in `/tmp/tlsrc/Work':
> configure: error: C compiler cannot create executables
> See `config.log' for more details
> + echo 77
> done (exit status 77) Fri Jul 1 16:32:07 CEST 2016

did you look at config.log ? For me, you just didn't install the
mingw-w64 toolchain...

> If I run the same command from MINGW64 shell [2], it fails building icu
> library

This one has the mingw-w64 toolchain installed. You just have to know
what MSYS2 installs, and use for example pacman inside MSYS2 to
install what you want.

if you want, i'll write a document with all the steps I did.

>
> $ CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ ./Build
> --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32
>
> fixes this issue and the build continues completing the build in libs, utils
> and many things in texk. Then it breaks at
>
> /tmp/tlsrc/Work/texk/kpathsea/.libs/libkpathsea.a -lwsock32
> x86_64-w64-mingw32-g++.exe: error:
> C:/msys64/tmp/tlsrc/Work/libs/icu/icu-build/lib/libicudata.a: No such file
> or directory
>
> Indeed, libicudata.a does not exist there..

I use a framework which installs some useful dependencies, named win-builds.

Vincent Torri


More information about the tex-live mailing list