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