Oh, it's just a matter of installing packages one by one until things compile :) More tedious than anything else; I just didn't want to go through the process if someone had already. e.g. this is how I started off

$ wajig install mingw-w64-x86-64-devĀ 
$ wajig install mingw-w64-i686-dev
$ opam install ocaml-windows

### stderr ###
# + x86_64-w64-mingw32-gcc --version
# sh: x86_64-w64-mingw32-gcc: command not found

I missed that there was a metapackage though; I'll give that a try.

martin


On Mon, Mar 14, 2016 at 1:14 PM, Adrien Nader <adrien@notk.org> wrote:
Hi,

I can't tell much about Ubuntu specifically but there aren't many
mingw-w64-related packages in Ubuntu. I'm assuming you're not trying to
use mingw.org because it's 2016.
It would be useful that you mention which Ubuntu version you're using
because 12.04 has GCC 4.6.3 and mingw-w64 2.0.1 while 16.04 has GCC
5.3.1 and mingw-w64 4.0.4. There shouldn't be issues but it's possible
nonetheless.

There is a "mingw-w64" meta package (maybe not in all versions though)
that should give you a complete environment.

Apart from that, providing the error message(s) would be useful. :)

--
Adrien Nader