Discussion:
mingw on mint
(too old to reply)
Bob Tennent
2023-10-08 12:52:15 UTC
Permalink
I need to build Windows binaries from a conventional source
tarball. I used to work in a RedHat environment and I recall
using specialized configure and make scripts from mingw
packages. But I'm now on Mint and I have no idea.

Can anyone help? What packages do I need? Which scripts
do I use to configure and make?

Bob T.
Bob Tennent
2023-10-08 14:48:15 UTC
Permalink
Post by Bob Tennent
I need to build Windows binaries from a conventional source
tarball. I used to work in a RedHat environment and I recall
using specialized configure and make scripts from mingw
packages. But I'm now on Mint and I have no idea.
Can anyone help? What packages do I need? Which scripts
do I use to configure and make?
It seems the answers (from stackexchange) are gcc-mingw-w64
and ./configure --host=x86_64-w64-mingw32.

Bob T.
Jasen Betts
2023-10-08 21:28:38 UTC
Permalink
Post by Bob Tennent
Post by Bob Tennent
I need to build Windows binaries from a conventional source
tarball. I used to work in a RedHat environment and I recall
using specialized configure and make scripts from mingw
packages. But I'm now on Mint and I have no idea.
Can anyone help? What packages do I need? Which scripts
do I use to configure and make?
It seems the answers (from stackexchange) are gcc-mingw-w64
and ./configure --host=x86_64-w64-mingw32.
That sounds right if it's an autotools build.
https://www.gnu.org/software/autoconf/manual/autoconf-2.65/html_node/Specifying-Target-Triplets.html

"x86_64-w64-mingw32" what a name!, but I guess the 32 in there is
just an identifier used by microsoft who should never be trusted with
numbers *.

(*) here "32" means string arguments to the ABI are encoded with UTF16-LE
--
Jasen.
🇺🇦 Слава Україні
Loading...