]>
Commit | Line | Data |
---|---|---|
1 | ------------------------------------------------------------------------------- | |
2 | README | |
3 | ------------------------------------------------------------------------------- | |
4 | ||
5 | This is a small script for cross-compiling sigrok and its dependencies | |
6 | for Windows/MinGW systems. | |
7 | ||
8 | ||
9 | Status | |
10 | ------ | |
11 | ||
12 | Work in progress. This does NOT yet fully work. | |
13 | ||
14 | ||
15 | Requirements | |
16 | ------------ | |
17 | ||
18 | - bash | |
19 | - gcc | |
20 | - make | |
21 | - git | |
22 | - pkg-config (>= 0.22) | |
23 | - MXE | |
24 | ||
25 | ||
26 | MXE setup | |
27 | --------- | |
28 | ||
29 | First, setup the MXE cross-compile environment for MinGW/Windows: | |
30 | ||
31 | $ cd $HOME | |
32 | $ git clone https://github.com/mxe/mxe.git mxe-git | |
33 | $ cd mxe-git | |
34 | $ make gcc glib libzip libftdi gtk2 qt boost nsis | |
35 | ||
36 | This will take a while. | |
37 | ||
38 | See http://mxe.cc for details on MXE. | |
39 | ||
40 | ||
41 | Building | |
42 | -------- | |
43 | ||
44 | $ ./sigrok-cross-mingw | |
45 | ||
46 | Per default it expects MXE in: | |
47 | ||
48 | $HOME/mxe-git | |
49 | ||
50 | Per default it will install the cross-compiled packages in: | |
51 | ||
52 | $HOME/sr_mingw | |
53 | ||
54 | Please edit the script if you want to change any settings. | |
55 |