Admin/polyml/INSTALL-MinGW
changeset 71117 2f6b092bbd25
parent 64340 7f42e66c0d3d
child 72420 f6fc180e1cbd
equal deleted inserted replaced
71116:aa1338a778c1 71117:2f6b092bbd25
     1 MinGW for native Windows support
     1 MinGW for native Windows support
     2 ================================
     2 ================================
     3 
     3 
     4 - always "Run as administrator ..."
     4 - always "Run as administrator ..."
     5 
     5 
     6 - http://sourceforge.net/projects/msys2
     6 - download from https://www.msys2.org
       
     7   install target c:\msys64
     7 
     8 
     8   target c:\msys64
     9 - package update and installation within msys2 shell:
     9 
    10 
    10 - http://sourceforge.net/projects/mingw-w64
    11   pacman -Syuu
    11 
    12 
    12   mingw-w64-install.exe
    13   pacman -Su
    13 
    14 
    14   i686-4.9.3-win32-dwarf-rt_v4-rev0
    15   pacman -S --needed base-devel gmp-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-gmp
    15   x86_64-4.9.3-win32-seh-rt_v4-rev0
       
    16 
    16 
    17   target c:\msys64
    17 - build (as regular user) e.g. on vmnipkow9 with Cygwin-Terminal from Isabelle2018
       
    18   (to avoid address relocation problems):
    18 
    19 
    19 - within msys shell:
    20     isabelle build_polyml -M /cygdrive/c/msys64 -m32 -s sha1 src
    20 
    21     isabelle build_polyml -M /cygdrive/c/msys64 -m64 -s sha1 src
    21     pacman --needed -Sy bash pacman pacman-mirrors msys2-runtime
       
    22 
       
    23   after restart of msys shell:
       
    24 
       
    25     pacman -Su
       
    26     pacman -S make diffutils texinfo gmp-devel mingw-w64-i686-gmp mingw-w64-x86_64-gmp
       
    27 
       
    28 - build (as regular user) e.g. on vmnipkow9
       
    29 
       
    30   isabelle/repos/Admin/polyml/build polyml-git x86-windows --build=i686-pc-msys --with-gmp
       
    31   isabelle/repos/Admin/polyml/build polyml-git x86_64-windows --build=x86_64-pc-msys --with-gmp