]>
Commit | Line | Data |
---|---|---|
91d4c754 UH |
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 | ||
6e15e874 | 12 | Working. |
91d4c754 UH |
13 | |
14 | ||
15 | Requirements | |
16 | ------------ | |
17 | ||
18 | - bash | |
19 | - gcc | |
20 | - make | |
5b7f0ad2 | 21 | - cmake |
91d4c754 | 22 | - git |
5b7f0ad2 | 23 | - wget |
50d4aefd | 24 | - unzip |
37d3fad3 | 25 | - p7zip |
5b7f0ad2 | 26 | - pkg-config (>= 0.22) |
73740f2d | 27 | - sdcc (needed for building the fx2lafw firmware) |
5b7f0ad2 | 28 | - nsis |
91d4c754 UH |
29 | - MXE |
30 | ||
31 | ||
32 | MXE setup | |
33 | --------- | |
34 | ||
35 | First, setup the MXE cross-compile environment for MinGW/Windows: | |
36 | ||
37 | $ cd $HOME | |
38 | $ git clone https://github.com/mxe/mxe.git mxe-git | |
39 | $ cd mxe-git | |
23384c8c | 40 | $ make gcc glib libzip libusb1 libftdi qt boost check |
91d4c754 UH |
41 | |
42 | This will take a while. | |
43 | ||
44 | See http://mxe.cc for details on MXE. | |
45 | ||
46 | ||
47 | Building | |
48 | -------- | |
49 | ||
50 | $ ./sigrok-cross-mingw | |
51 | ||
52 | Per default it expects MXE in: | |
53 | ||
54 | $HOME/mxe-git | |
55 | ||
56 | Per default it will install the cross-compiled packages in: | |
57 | ||
58 | $HOME/sr_mingw | |
59 | ||
60 | Please edit the script if you want to change any settings. | |
61 |