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