]>
Commit | Line | Data |
---|---|---|
1 | ------------------------------------------------------------------------------- | |
2 | README | |
3 | ------------------------------------------------------------------------------- | |
4 | ||
5 | This is a small script for compiling sigrok and its dependencies natively | |
6 | on MSYS2/Windows systems. | |
7 | ||
8 | ||
9 | Status | |
10 | ------ | |
11 | ||
12 | NOT fully working! This is work in progress. | |
13 | ||
14 | ||
15 | Requirements | |
16 | ------------ | |
17 | ||
18 | See below for instructions on how to install the requirements. | |
19 | ||
20 | ||
21 | Toolchain setup | |
22 | --------------- | |
23 | ||
24 | First, you need to install MSYS2 (use the 64bit installer, msys2-x86_64-*.exe): | |
25 | ||
26 | https://sourceforge.net/p/msys2/wiki/MSYS2%20installation/ | |
27 | ||
28 | Then, perform the MSYS2 update procedure as per the documentation above. | |
29 | ||
30 | $ update-core | |
31 | (If one of the packages is updated here, you MUST restart MSYS2) | |
32 | $ pacman -Su | |
33 | ||
34 | Now close the shell and start an "MSYS2 MinGW32" shell (do NOT use the | |
35 | "MSYS2 Shell", and do NOT use the "MSYS2 MinGW64" shell). All other | |
36 | steps will always have to be performed in an "MSYS2 MinGW32" shell. | |
37 | ||
38 | Install the MSYS2 git package there: | |
39 | ||
40 | $ pacman -Sy | |
41 | $ pacman -S git | |
42 | ||
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: | |
45 | ||
46 | $ ./sigrok-native-msys2 prepare | |
47 | ||
48 | ||
49 | Building | |
50 | -------- | |
51 | ||
52 | $ ./sigrok-native-msys2 | |
53 | ||
54 | Per default it will install the compiled packages in: | |
55 | ||
56 | $HOME/sr_msys2 | |
57 | ||
58 | Please edit the script if you want to change any settings. | |
59 |