From 02b747396e1bf798bca0b7c1ca1ea1b939e1acef Mon Sep 17 00:00:00 2001 From: Guillaume Munch Date: Sun, 7 Aug 2016 13:13:08 +0100 Subject: [PATCH] Commands to select the posix variant for the mingw cross-compilation script The win32 thread model of gcc does not support the and headers yet. --- development/cmake/scripts/xmingw | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/development/cmake/scripts/xmingw b/development/cmake/scripts/xmingw index ec8fcd013d..3051a27ff9 100755 --- a/development/cmake/scripts/xmingw +++ b/development/cmake/scripts/xmingw @@ -2,7 +2,10 @@ #!/bin/sh # # Installed MinGW needed. -# Ubuntu : sudo apt-get install g++-mingw-w64-i686 +# Ubuntu : +# sudo apt-get install g++-mingw-w64-i686 +# sudo update-alternatives --set i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-posix +# sudo update-alternatives --set i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-g++-posix