• mingw on mint

    From Bob Tennent@21:1/5 to All on Sun Oct 8 12:52:15 2023
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bob Tennent@21:1/5 to Bob Tennent on Sun Oct 8 14:48:15 2023
    On Sun, 8 Oct 2023 12:52:15 -0000 (UTC), Bob Tennent wrote:
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jasen Betts@21:1/5 to Bob Tennent on Sun Oct 8 21:28:38 2023
    On 2023-10-08, Bob Tennent <rdtennent@tennent.ca> wrote:
    On Sun, 8 Oct 2023 12:52:15 -0000 (UTC), Bob Tennent wrote:
    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.
    🇺🇦 Слава Україні

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)