File: README.Windows

package info (click to toggle)
bino 1.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,504 kB
  • ctags: 2,133
  • sloc: cpp: 20,704; sh: 4,797; makefile: 283; sed: 16
file content (33 lines) | stat: -rw-r--r-- 1,081 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
You can build a Windows binary using MinGW.

The easiest way to do this is to use a GNU/Linux system with MXE (the M cross
environment, <http://mxe.cc>). This is because MXE not only provides a recent
version of gcc as a cross compiler, but also all required libraries, and the
nsis package to build an installer.

The stable version of MXE is now far too old to be useful, so please use the
development version instead.

1. Build the required MXE packages in /path/to/mxe:

   $ cd /path/to
   $ git clone -b master https://github.com/mxe/mxe.git
   $ cd mxe
   $ make gettext pthreads ffmpeg libass openal glew qt nsis

   (Please read the MXE documentation if you have trouble with this step.)

   Add MXE to your PATH:
   $ export PATH="/path/to/mxe/usr/bin:$PATH"

2. Build Bino

   $ cd /path/to/bino
   $ ./configure --host=i686-pc-mingw32.static --build=`build-aux/config.guess`
   $ make

   Build the installer:
   $ make package-w32

The installer will install the binary, the manual, and translations along with
start menu entries, and provide uninstall functionality.