This repository contains build scripts used for building external libraries that are bundled with strawberry perl.
The binaries are available at:
-
install base MSYS2 environment into e.g.
z:\msys2
see https://sourceforge.net/projects/msys2/ run:z:\msys2\msys2_shell.cmd
-
install additional MSYS2 packages (no GCC!) from MSYS2 shell:
pacman -Sy --noconfirm curl wget ca-certificates openssh openssl nano tar xz p7zip zip unzip bzip2
pacman -Sy --noconfirm patch git make autoconf libtool nano automake man flex bison pkg-config
pacman -Sy --noconfirm perl-libwww perl-IPC-Run3 perl-IO-Socket-SSL perl-Archive-Zip perl-LWP-Protocol-https perl-Digest-SHA
pacman -Sy --noconfirm python2
pacman -Syu --noconfirm
-
unpack gcc-4.8.3 toolchains into e.g.
z:\mingw32bit.483
andz:\mingw64bit.483
-
unpack cmake into e.g.
z:\cmake
- get win binaries from: http://www.cmake.org/download/
-
download or
git clone
build-extlibs into e.g. z:\extlib -
check correct paths to
cmake
andgcc
inmsys2_shell_483_32.bat
andmsys2_shell_483_64.bat
-
source code tarball must be listed in
sources.list
-
edit "job file" e.g.
2014Q4
-
32bit build:
- start
msys2_shell_483_32.bat
- from MSYS2 shell:
- start
$ cd /z/extlib
$ ./build.sh 2014Q4 _
- NOTE:
_
means that all DLLs will have special suffix*_.dll
e.g.zlib1_.dll
- 64bit build:
- start
msys2_shell_483_64.bat
- from MSYS2 shell:
- start
$ cd /z/extlib
$ ./build.sh 2014Q4 __
- NOTE:
__
means that all DLLs will have special suffix*__.dll
e.g.zlib1__.dll
- see
_out
directory for outputs