Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: i cant install mingw on artix linux (Read 458 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

i cant install mingw on artix linux

hello. i need to install mingw on my artix linux (i use artix with openrc), but pacman dont found mingw. then i try to install mingw from source(ver 11.0.0), but when i typed ./configure - i get "configure: error: Please check if the mingw-w64 header set and the build/host option are set properly". i also try to install mingw 7.0.0 from source, but i get same error. can anyone help me? (and please sorry me if this post have grammar errors, i dont live in english-speaking country)


Re: i cant install mingw on artix linux

Reply #2
thank you so much, but now i try to install mingw from aur, i cloned mingw-w64-llvm, but i was need to install dependency for mingw-w64-llvm. and i install it, but except the mingw-w64-cmake. because for mingw-w64-cmake i need to install mingw-w64-pkg-config. and i have some problems with mingw-w64-pkg-config, because to install mingw-w64-pkg-config i need to install mingw-w64-crt. because https://archlinux.org/packages/extra/any/mingw-w64-crt/ dont have link to git repo, only link to https://www.mingw-w64.org/, - its a mingw site. and links on mingw site in https://www.mingw-w64.org/downloads/ direct me on aur :/ maybe i'm doing something wrong?

Re: i cant install mingw on artix linux

Reply #3
You could try enabling Arch repos and installing their mingw packages. I've never used it but I assume it should work fine.

Re: i cant install mingw on artix linux

Reply #4
mingw is available in several “grocery stores” :
Code: [Select]
pacman -Ss mingw 
extra/mingw-w64-binutils 2.38-3 (mingw-w64-toolchain mingw-w64)
    Cross binutils for the MinGW-w64 cross-compiler
extra/mingw-w64-crt 10.0.0-1 (mingw-w64-toolchain mingw-w64)
    MinGW-w64 CRT for Windows
extra/mingw-w64-gcc 12.2.0-1 (mingw-w64-toolchain mingw-w64)
    Cross GCC for the MinGW-w64 cross-compiler
extra/mingw-w64-headers 10.0.0-1 (mingw-w64-toolchain mingw-w64)
    MinGW-w64 headers for Windows
extra/mingw-w64-winpthreads 10.0.0-1 (mingw-w64-toolchain mingw-w64)
    MinGW-w64 winpthreads library
chaotic-aur/dxvk-mingw-git 2.3.r9.g4d974685-1
    A Vulkan-based compatibility layer for Direct3D 9/10/11 which allows running
    3D applications on Linux using Wine. Windows DLL version)
chaotic-aur/mingw-w64-tools 10.0.0-1
    MinGW-w64 utilities
chaotic-aur/vkd3d-proton-mingw-git 2.10.r58.g582226f0-1
    Fork of VKD3D. Development branches for Protons Direct3D 12 implementation

 

Re: i cant install mingw on artix linux

Reply #5
thank you all so much guys, really thanks : ) i enable arch repos and install mingw, and mingw works good