1 -------------------------------------------------------------------------------
3 -------------------------------------------------------------------------------
5 This is a small script for compiling sigrok and its dependencies natively
6 on MSYS2/Windows systems.
12 NOT fully working! This is work in progress.
18 See below for instructions on how to install the requirements.
24 First, you need to install MSYS2 (use the 64bit installer, msys2-x86_64-*.exe):
27 https://github.com/msys2/msys2/wiki/MSYS2-installation
29 Then, perform the MSYS2 update procedure as per the documentation above.
31 $ pacman -Syu # If needed, close MSYS2, run it again from Start menu.
34 Now close the shell and start an "MSYS2 MinGW 64-bit" or "MSYS2 MinGW 32-bit"
35 shell (do NOT use the "MSYS2 MSYS" shell). All other steps will always have to
36 be performed in an "MSYS2 MinGW 62-bit" or "MSYS2 MinGW 32-bit" shell.
38 Install the MSYS2 git package there:
43 This is all that is needed to bootstrap your MSYS2 system. You can now use
44 our sigrok-native-msys2 script to install all other required MSYS2 packages:
46 $ ./sigrok-native-msys2 prepare
52 $ ./sigrok-native-msys2
54 Per default it will install the compiled packages in:
56 $HOME/sr_msys2_release_32
58 This depends on whether you're running the build in a "MSYS2 MinGW 64-bit" or
59 "MSYS2 MinGW 32-bit" shell, and whether you enabled debug builds or not.
61 Please edit the script if you want to change any settings.