Skip to content

Cross compiling to windows using mingw #2018

@emillon

Description

@emillon

Hi.

There are several ways to cross-compile ocaml code to windows using mingw:

On the other hand, nix also has native support for cross-compilation and this overlay exposes some ways to cross compile to, say, aarch64 through pkgsCross.

It seems possible to me to extend that to cross-compiling ocaml to windows using mingw.

My questions are:

  • has this every been tried?
  • are there known blockers to this approach?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions