GitHub - XLTools/toolchains: Build toolchains for XLTools

Cross-compiler build toolchains for XLTools.

Configuration

The current host OS for the cross-compiler is Ubuntu, 16.04, using MXE and OSXCross.

MXE

To install the 32- and 64-bit toolkits, run:

sudo apt install mxe-i686-w64-mingw32.static-gcc \
    mxe-x86-64-w64-mingw32.static-gcc \
    mxe-i686-w64-mingw32.static-pthreads \
    mxe-x86-64-w64-mingw32.static-pthreads

The compilers will be installed under /usr/lib/mxe/usr/bin/.

Toolkits

The toolkits can be invoked using:

cmake $args -DCMAKE_TOOLCHAIN_FILE=$toolchain