Baresip cross-compiled for Windows using MinGW-w64
You need to install the MinGW-w64 compiler and Wine:
Debian/Ubuntu:
sudo apt-get install mingw-w64 wine
macOS using Homebrew:
brew install mingw-w64 wine
$ git clone https://github.com/baresip/re
$ git clone https://github.com/baresip/baresip
$ wget https://www.openssl.org/source/openssl-3.3.0.tar.gz
$ tar -xf openssl-3.3.0.tar.gz
$ mv openssl-3.3.0 openssl
You must build openssl first:
$ make openssl
$ make
This will cross compile all the projects for Windows and execute the testcode using Wine.
If it works you can fiddle with the build flags for fun :)