]>
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 | Working. | |
13 | ||
14 | ||
15 | Requirements | |
16 | ------------ | |
17 | ||
18 | - bash | |
19 | - gcc | |
20 | - make | |
21 | - git | |
22 | - pkg-config (>= 0.22) | |
23 | - unzip | |
24 | - MXE | |
25 | ||
26 | ||
27 | MXE setup | |
28 | --------- | |
29 | ||
30 | First, setup the MXE cross-compile environment for MinGW/Windows: | |
31 | ||
32 | $ cd $HOME | |
33 | $ git clone https://github.com/mxe/mxe.git mxe-git | |
34 | $ cd mxe-git | |
35 | $ make gcc glib libzip libusb1 libftdi gtk2 qt boost nsis | |
36 | ||
37 | This will take a while. | |
38 | ||
39 | See http://mxe.cc for details on MXE. | |
40 | ||
41 | ||
42 | Building | |
43 | -------- | |
44 | ||
45 | $ ./sigrok-cross-mingw | |
46 | ||
47 | Per default it expects MXE in: | |
48 | ||
49 | $HOME/mxe-git | |
50 | ||
51 | Per default it will install the cross-compiled packages in: | |
52 | ||
53 | $HOME/sr_mingw | |
54 | ||
55 | Please edit the script if you want to change any settings. | |
56 |