Bug 237213 - [NEW PORT] devel/mingw-w{32,64} cross compilers
Summary: [NEW PORT] devel/mingw-w{32,64} cross compilers
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs mailing list
Keywords: feature, needs-patch
Depends on:
Reported: 2019-04-12 04:24 UTC by Damjan Jovanovic
Modified: 2019-11-10 08:27 UTC (History)
7 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Damjan Jovanovic 2019-04-12 04:24:31 UTC

Can someone please make a port for the mingw-w64 project that cross-compiles Windows binaries from *nix?

Note that this is NOT THE SAME software project as the now largely abandoned mingw project; mingw-w64 was made by different developers with a different setup, and (despite the name) can build both Win32 and Win64 binaries unlike the original mingw project that only supported Win32.

I need this to develop Wine-Mono on FreeBSD, and it is generally useful in all cases where mingw was useful. Please provide both the Win32 and Win64 ports.


Thank you so much!
Comment 1 Naram Qashat 2019-09-06 02:13:04 UTC
I've been wanting to do this on-and-off for probably a few years now, but the documentation for it, which you linked, is pretty lackluster and a bit confusing at points. I've not had the time to really dive into it much either.
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2019-09-16 11:55:01 UTC
@Naram / Akinori-san, is this something either one of you can take care of?

Normally, Bugzilla is not used to take new port requests, in favour of creating entries in the wiki [1]

[1] https://wiki.freebsd.org/WantedPorts

If we can get some buy-in to create these ports, I'm happy to keep the issue open.

Separately there is also the question of maintainer/maintenance. Our mingw* ports aren't in the best shape with regard to maintenance (I may be wrong with regard to versions being up to date however)
Comment 3 Naram Qashat 2019-09-16 12:58:37 UTC
You're right about the current mingw ports not being in the best shape, I haven't devoted time to them as I feel that the current mingw ports are outdated and stale. Maybe it's just my opinion on them. I'd love to have the mingw-w64 project in the ports tree instead of what we currently have, but as I mentioned previously, I have not devoted any time to looking into how to get those into the ports tree either.
Comment 4 Alex S 2019-11-10 08:20:47 UTC
Might be useful for Proton as well.

(In reply to Kubilay Kocak from comment #2)

> If we can get some buy-in to create these ports
That doesn't sound encouraging. Who's permission we should ask first? I'd hate to put 100+ hours into something only to see it stalled at review/merge level.
Comment 5 Alex S 2019-11-10 08:27:50 UTC
(In reply to Alex S from comment #4)

* whose

(f* Bugzilla and it's lack of edit function)