This repository provides a patch to build Schily-Tools with MSYS2.
Schily-Tools is a collection of tools inspired by SunOS developed and maintained by Joerg Schilling. This software package is also famous for cdrtools. The patch file distributed via this repository allows you to build Schily-Tools on the MSYS2 (neither MinGW32 nor MinGW64) environment.
Please install the following packages in advance:
- base-devel,
- msys2-devel,
- msys2-runtime-devel.
This document also assumes that
- you are working in the home directory ($HOME) in MSYS2,
- the tarball is saved as ~/schily-2020-11-25.tar.bz2,
- the local copy of this repository locates in ~/schilytools-msys2.
$ tar xvjf ~/schily-2020-11-25.tar.bz2
$ cd ~/schily-2020-11-25
$ patch -p1 < ~/schilytools-msys2/schily-msys2.patch
$ cd ~/schily-2020-11-25/psmake
$ ./MAKE-all
$ cd ..
$ psmake/smake
$ psmake/smake installIn default, the tools are installed into /opt/schily. Please issue
$ psmake/smake INS_BASE=/usr/local/schily installif you want the tools to be installed in /usr/local/schily instead.
This patch makes a file named os-msys_nt-10.0-19042.id in the RULES directory of Schily-Tools (~/schily-2020-11-25/RULES for example). The file name comes from
$ uname
MSYS_NT-10.0-19042, this meaning that the operating system is Windows 10 build 19042 (aka 20H2).
You would have to rename this file according to both your Windows 10 version and MSYS2 environment.