1
0
Files
electrum/contrib/build-wine
ghost43 f59a4f85db win/mac build: strip parts of pyqt5 from binaries to reduce size (#4901)
When bumping pyinstaller to 3.4, binary sizes had increased drastically.
The main reason seems to be that pyinstaller is pulling in "all" of qt.

based on Electron-Cash/Electron-Cash@4b09969594
2018-12-09 05:09:28 +01:00
..
2018-11-28 16:44:15 +01:00
2018-07-10 13:33:46 +02:00
2018-07-02 09:19:02 +02:00
2018-07-02 09:19:02 +02:00

Windows Binary Builds

These scripts can be used for cross-compilation of Windows Electrum executables from Linux/Wine.

For reproducible builds, see the docker folder.

Usage:

  1. Install the following dependencies:
  • dirmngr
  • gpg
  • 7Zip
  • Wine (>= v2)
  • (and, for building libsecp256k1)
    • mingw-w64
    • autotools-dev
    • autoconf
    • libtool

For example:

$ sudo apt-get install wine-development dirmngr gnupg2 p7zip-full
$ sudo apt-get install mingw-w64 autotools-dev autoconf libtool

The binaries are also built by Travis CI, so if you are having problems, that script might help.

  1. Make sure /opt is writable by the current user.
  2. Run build.sh.
  3. The generated binaries are in ./dist.