tpoechtrager / wclang

Cross compile source code easily for Windows with clang on Linux/Unix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't detect MinGW-w64 of MXE project

opened this issue · comments

Hi! I'm using MXE, which is a MinGW-w64 compiler bundled with tons of makefiles for various libraries, but these guys name their executables differently, for example here's the path to mingw g++ executable:

/opt/mxe/usr/bin/x86_64-w64-mingw32.static-g++

Basically all their executables in bin folder start with x86_64-w64-mingw32.static- prefix.

I tried to export compiler folders to PATH, but it keep showing this error:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
mingw-w64 is not installed or not in PATH variable.

Any idea how to detect it? Thanks!

Hi. Should work now.

Thank you, Thomas!