Package Details: mingw-w64-environment 1-7

Git Clone URL: https://aur.archlinux.org/mingw-w64-environment.git (read-only, click to copy)
Package Base: mingw-w64-environment
Description: Script providing common environment variables and functions for MinGW (mingw-w64)
Upstream URL: http://fedoraproject.org/wiki/MinGW
Licenses: BSD
Submitter: xantares
Maintainer: xantares
Last Packager: xantares
Votes: 10
Popularity: 0.130012
First Submitted: 2019-12-02 20:45 (UTC)
Last Updated: 2025-01-23 15:07 (UTC)

Latest Comments

« First ‹ Previous 1 2

patlefort commented on 2021-11-05 11:07 (UTC) (edited on 2021-11-05 11:08 (UTC) by patlefort)

I ran into a problem when I installed your mingw-w64-clang-git package. Some packages have a configure script that detect clang first before gcc, so they get compiled with clang. Would it be possible to specify the default compiler to be gcc?

Maybe something like:

if [ -n "$MINGW_CC" ]; then
  CC="${_arch}-${MINGW_CC}"
fi
if [ -n "$MINGW_CXX" ]; then
  CXX="${_arch}-${MINGW_CXX}"
fi

I could then define these variables in my makepkg.conf.

edscott commented on 2021-02-07 14:50 (UTC)

Depends on fakeroot and binutils.

drakkan commented on 2019-12-03 10:47 (UTC)

for _arch in ${_architectures}; do
    source mingw-env ${_arch}

for the second arch the flags are duplicated. They are equals and this should not cause issues, maybe a second argument in mingw-env to clear flags and/or to avoid to append to the existing ones could be useful, thanks