Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
50 lines (35 sloc) 815 Bytes

Windows cross compilation

Note: HTTP/Websocket network API is disabled and not supported on Windows until porting of library

Nodejs/Dart bindings not yet ported to Windows.


sudo apt-get install bison flex libtool ruby scons intltool libtool-bin p7zip-full wine


Prepare MXE

git submodule update --init

nano ./mxe/

JOBS := 1
MXE_TARGETS := x86_64-w64-mingw32.static
LOCAL_PKG_LIST := cunit libiberty
.DEFAULT local-pkg-list:
local-pkg-list: $(LOCAL_PKG_LIST)
cd ./mxe

Cross compilation

mkdir ./build
cd  ./build

export MXE_HOME=<path to project>/mxe

cmake .. -DCMAKE_BUILD_TYPE=Release \
         -DCMAKE_TOOLCHAIN_FILE=../win64-tc.cmake \

make package
You can’t perform that action at this time.