On 12/07/2016 07:45 PM, Riot wrote:
> 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
>

You need to bootstrap, build and install the headers first, and then the
1st stage gcc, then crt, lastly complete gcc.


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to