summaryrefslogtreecommitdiff
path: root/systems/win32/w32tex/TLARM64W/00README.TLARM64W
blob: 485f561717f73fbb7b42a673c4443e3ecebb8de4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
        How to install arm64 binaries for TeX Live on Windows


First, an OS of a device should be arm64 Windows.
All binaries given here are not tested.

In the following, $INSTALLDIR is $SELFAUTOPARENT in the TeX Live,
that is, the parent directory of "texmf-dist". Actually the
directory $INSTALLDIR is shown by a command:

    kpsewhich --var-value=SELFAUTOPARENT


(1) Expand the file tl-arm64-windows.zip in $INSTALLDIR.
    In the case of update, remove all files in
    $INSTALLDIR/bin/arm64-windows before expanding
    tl-arm64-windows.zip, because it is possible that some files are
    deleted in a new tl-arm64-windows.zip.

(2) After expanding tl-arm64-windows.zip in $INSTALLDIR,
    change related command PATH from
    $INSTALLDIR\bin\win32
    to
    $INSTALLDIR\bin\arm64-windows;$INSTALLDIR\bin\win32

    Note that a few files are absent in arm64 binaries.
    Thus $INSTALLDIR\bin\win32 is necessary "after"
    $INSTALLDIR\bin\arm64-windows. The x86 binaries are assumed to be
    usable by emulation.

    The arm64 binaries are not tested. If they are not usable,
    it is easy to recover the original TeX Live win32, by changing
    back the PATH:
    $INSTALLDIR\bin\arm64-windows;$INSTALLDIR\bin\win32 --->
    $INSTALLDIR\bin\win32

(3) gsftopk.exe and dvisvgm.exe require arm64 Ghostscript DLL,
    which will be difficult to obtain. Here a candidate,
    gs9533arm64full-gpl.exe, is given. It is the Ghostscript 9.53.3
    cross-compiled by Visual Studio 2019. The installer itself is an
    x86 executable file. It is not tested. dvisvgm finds ghostscript
    DLL by reading a registry, but gsftopk finds the DLL from the
    PATH variable. The installer gs9533arm64full-gpl.exe does not
    change the PATH variable, so users should change the PATH to
    include the location of gsdll64.dll.
    In various cases x86 Ghostscript, which is preinstalled in the
    TeX Live for Windows, is also used.

(4) Some binaries in tl-arm64-windows.zip may be newer than those in
    the present TeX Live. Thus probably it is necessary to recreate
    format files by
    fmtutil-sys --all --no-error-if-no-engine=luajittex,luajithbtex
    Note that luajittex and luajithbtex are not supported in arm64
    on Windows.

-- 
Akira Kakuto