]> sigrok.org Git - sigrok-util.git/blame - cross-compile/mingw/README
Mark cross-compile scripts as working, since they are.
[sigrok-util.git] / cross-compile / mingw / README
CommitLineData
91d4c754
UH
1-------------------------------------------------------------------------------
2README
3-------------------------------------------------------------------------------
4
5This is a small script for cross-compiling sigrok and its dependencies
6for Windows/MinGW systems.
7
8
9Status
10------
11
6e15e874 12Working.
91d4c754
UH
13
14
15Requirements
16------------
17
18 - bash
19 - gcc
20 - make
21 - git
22 - pkg-config (>= 0.22)
23 - MXE
24
25
26MXE setup
27---------
28
29First, setup the MXE cross-compile environment for MinGW/Windows:
30
31 $ cd $HOME
32 $ git clone https://github.com/mxe/mxe.git mxe-git
33 $ cd mxe-git
dec0698d 34 $ make gcc glib libzip libusb1 libftdi gtk2 qt boost nsis
91d4c754
UH
35
36This will take a while.
37
38See http://mxe.cc for details on MXE.
39
40
41Building
42--------
43
44 $ ./sigrok-cross-mingw
45
46Per default it expects MXE in:
47
48 $HOME/mxe-git
49
50Per default it will install the cross-compiled packages in:
51
52 $HOME/sr_mingw
53
54Please edit the script if you want to change any settings.
55