You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can successfully build ocaml-windows using mingw-gcc from my distribution repo but not using MXE cross toolchain. Tested in both archlinux (in docker) and Ubuntu 22.04 and I got exact same result. Tested with both ocaml 4.14.1 and 5.1.1 and same problem.
My goal is to use MXE to build "ssl-windows" package because I can't using distribution package mingw-gcc. If you know how to build openssl without MXE, please explain to me how to do so.
The first error is because your local ocaml compiler version does not match the version of the cross-compiler you are trying to build.
The second seems to indicate another flexlink install.
Are you installing from a fresh opam switch? Did you make sure that you do not have a system-wide or any other OCaml install on your system.
A good way to start is to use a docker container. This way you are sure that you are starting from a clean slate.
Yes, I indeed work inside an archlinux docker container so the state should be clean.
In fact I ended by recompiling openssl myself using the cross-compiler from pacman and it seemed to work (at least it runs inside wine. I need to test in an actual windows).
Hello,
I can successfully build ocaml-windows using mingw-gcc from my distribution repo but not using MXE cross toolchain. Tested in both archlinux (in docker) and Ubuntu 22.04 and I got exact same result. Tested with both ocaml 4.14.1 and 5.1.1 and same problem.
My goal is to use MXE to build "ssl-windows" package because I can't using distribution package mingw-gcc. If you know how to build openssl without MXE, please explain to me how to do so.
I configured ocaml to use MXE as follow:
The error I get with MXE mingw-gcc is:
I don't understand what cause this error. Thank you for your help
The text was updated successfully, but these errors were encountered: