nixpkgs icon indicating copy to clipboard operation
nixpkgs copied to clipboard

Package request: mingw-w64 Packages

Open python-coding-404 opened this issue 1 year ago • 1 comments

Mingw-w64 allows us to cross compile to windows.

Mingw-w64 is a fork of mingw made for compiling 64 bit and 32 bit applications for windows. It is used for cross compiling on linux and used as a c compiler in windows. Mingw-w64 is a multitude of packages, including libraries! Metadata

  • homepage URL: mingw-w64.org

  • source URL: https://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree/

  • license: Public domain (headers), GNU General Public License (compiler and toolchain), Zope Public License

  • platforms: Linux, Windows, and macOS


Add a :+1: reaction to issues you find important.

python-coding-404 avatar May 08 '24 09:05 python-coding-404

Don't we already have this?

https://github.com/NixOS/nixpkgs/blob/c5e1cf1c936259e31c91d68624c196e40d173046/lib/systems/examples.nix#L310-L321 https://github.com/NixOS/nixpkgs/blob/605cf9d8b00e662ea1e897b8d7cc7aa4003e0b5e/pkgs/os-specific/windows/mingw-w64/default.nix#L8-L17

I.e. pkgsCross.mingwW64.hello should cross-compile to 64-bit Windows via mingw-w64.

OPNA2608 avatar May 14 '24 05:05 OPNA2608

ok

python-coding-404 avatar May 14 '24 15:05 python-coding-404