[tlbuild] Patches for mingw

luigi scarso luigi.scarso at gmail.com
Sun Dec 19 13:47:27 CET 2021


On Sun, Dec 19, 2021 at 1:25 AM Akira Kakuto <kakuto at jcom.zaq.ne.jp> wrote:

> Hi Luigi,
>
> On 2021/12/17 3:44, luigi scarso wrote:
> >
> > texlive   revision 61308.
> > Build --enable-hitex
> >
> > ./Build: 393 executables in
> /opt/luatex/texlive/mingw/Build/source/inst/bin.
> > done (exit status 0) Thu 16 Dec 2021 06:53:22 PM CET
> >
> >
> > --- Build/source/texk/web2c/hitexdir/am/hitex.am.orig 2021-12-16
> 18:11:42.763238072 +0100
> > +++ Build/source/texk/web2c/hitexdir/am/hitex.am <http://hitex.am>
> 2021-12-16 18:13:02.062296535 +0100
> > @@ -62,7 +62,7 @@
> >
> >   # Generating hitables.c using himktables.
> >   hitables.c: himktables
> > - ./himktables > $@ || { rm -f hitables.c; exit 1; }
> > + ./himktables$(EXEEXT) > $@ || { rm -f hitables.c; exit 1; }
> >
> >   # hitex
> >   nodist_hitex_SOURCES = hitables.c hiput.c $(hitex_c)
> >
>
> I think that a correct patch should be
>
> --- hitex.am.orig       Sat Dec 18 07:50:21 2021
> +++ hitex.am    Sun Dec 19 09:16:36 2021
> @@ -61,8 +61,8 @@
>         $(hi_ctangle_sh) hitex
>
>   # Generating hitables.c using himktables.
> -hitables.c: himktables
> -       ./himktables$(EXEEXT) > $@ || { rm -f hitables.c; exit 1; }
> +hitables.c: himktables$(EXEEXT)
> +       ./himktables > $@ || { rm -f hitables.c; exit 1; }
>
>   # hitex
>   nodist_hitex_SOURCES = hitables.c hiput.c $(hitex_c)
>
> Best,
> Akira
>
>
Cross-compilation fails with
make[5]: *** No rule to make target 'himktables.exe', needed by
'hitables.c'.  Stop.
make[5]: *** Waiting for unfinished jobs....

but I am not sure that the native compilation (I  mean using autotools
under Windows whatever is the name of the toolchain (from MSYS2, or ...) )
fails too.
I think that at the moment this specific cross-compilation makes sense for
WSL , a quite limited scenario (just to say, I am still not able to make a
32bit exe).


-- 
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tlbuild/attachments/20211219/eaec7135/attachment.html>


More information about the tlbuild mailing list.