Hi all, I've been using MinGW-w64 for a long while now, but always on windows. I'm currently trying to cross-compile windows projects on linux for the first time.
The issue I've run into is that std::experimental is not enabled in Debian's packaged version of mingw-w64, which I need for std::experimental::filesystem in several projects (and which is enabled in the mingw-builds version on windows). Since the repository packages aren't built the way I need, and it seems there are no linux binary packages for download anywhere on the site, I need to build my own. I've started by downloading and extracting mingw-w64-v5.0.0.tar.bz2 to /usr/src/mingw-w64-v5.0.0 and configuring as follows: tar -xvvjf mingw-w64-v5.0.0.tar.bz2 mkdir mingw-w64-v5.0.0-build cd mingw-w64-v5.0.0-build ../mingw-w64-v5.0.0/configure --enable-experimental and I got: ... checking for unistd.h... yes checking _mingw_mac.h usability... no checking _mingw_mac.h presence... no checking for _mingw_mac.h... no configure: error: Please check if the mingw-w64 header set and the build/host option are set properly. configure: error: ../../mingw-w64-v5.0.0/mingw-w64-crt/configure failed for mingw-w64-crt The config.log is here: http://hastebin.com/uluvirenok.log Adding --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=i686-w64-mingw32 doesn't change anything here. _mingw_mac.h does exist in /usr/src/mingw-w64-v5.0.0/mingw-w64-headers/crt/ but no amount of tweaking my PATH seems to help; is there some step I'm missing at this stage? I haven't been able to find any relevant information on the wiki on sourceforge (as this step seems to just succeed in the windows cross-compiling example), so I would really appreciate it if someone can walk me through comprehensively all the steps required from download through to successful configure, or point me to some up to date docs I may have missed that outline these. Thanks, Riot ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/xeonphi _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public