User Tools

Site Tools


tools:mxe

MXE

MXE (M cross environment)

Probably the best option for easy windows cross compilation.

Full instructions here: https://mxe.cc/

Get the repo

git clone https://github.com/mxe/mxe.git

Compile required files

# Basic mingw32
make -j cc
# USB/FTDI libs for openocd
make -j libusb1 libftdi1

Install or set PATH

export PATH=/xxx/mxe/usr/bin:$PATH

Use

i686-w64-mingw32.static-gcc

Example of use:

tools/mxe.txt · Last modified: 2019/01/16 15:03 by po