]> sigrok.org Git - sigrok-util.git/blob - cross-compile/mingw/README
README: Update, add missing items, drop uneeded ones.
[sigrok-util.git] / cross-compile / mingw / README
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  - sdcc (needed for building the fx2lafw firmware)
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
36  $ make gcc glib libzip libusb1 libftdi qt boost
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