Admin/polyml/INSTALL-MinGW
author wenzelm
Tue, 26 Jan 2021 20:16:56 +0100
changeset 73191 6823dddf9cf1
parent 72430 8e38c8405788
child 77577 f78286d2e30f
permissions -rw-r--r--
prefer dynamic linking: platform is always x86_64 (see 373dcdd363dc);

MinGW for native Windows support
================================

- always "Run as administrator ..."

- download from https://www.msys2.org
  install target c:\msys64

- package update and installation within msys2 shell:

  pacman -Syu

  pacman -Su

  pacman -S --needed --noconfirm base-devel gmp-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-gmp mingw-w64-x86_64-lapack mingw-w64-x86_64-openblas

- build (as regular user) e.g. on vmnipkow9 with Cygwin-Terminal from Isabelle2018
  (to avoid address relocation problems):

    isabelle build_polyml -M /cygdrive/c/msys64 -m32 -s sha1 src
    isabelle build_polyml -M /cygdrive/c/msys64 -m64 -s sha1 src