From 6045a08795de838f8f05ed86b8579288c4d8cbaf Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 14 Mar 2017 17:09:09 +0300 Subject: Add build scripts for windows 64 with mingw. --- build/winmake | 1 + build/winmake64 | 7 +++++++ build/wintests | 1 + build/wintests64 | 5 +++++ 4 files changed, 14 insertions(+) create mode 100755 build/winmake64 create mode 100755 build/wintests64 (limited to 'build') diff --git a/build/winmake b/build/winmake index 6080eebb9..9b36957a1 100755 --- a/build/winmake +++ b/build/winmake @@ -1,5 +1,6 @@ #!/bin/bash +export CROSS="i686-w64-mingw32.shared" export CXXFLAGS="-Wall -g1 -O5 -ffast-math -std=gnu++1z -funswitch-loops -funsafe-loop-optimizations -pipe" source ./mingw5flags.sh diff --git a/build/winmake64 b/build/winmake64 new file mode 100755 index 000000000..5f39d9750 --- /dev/null +++ b/build/winmake64 @@ -0,0 +1,7 @@ +#!/bin/bash + +export CROSS="x86_64-w64-mingw32.shared" +export CXXFLAGS="-Wall -g1 -O5 -ffast-math -std=gnu++1z -funswitch-loops -funsafe-loop-optimizations -pipe" +source ./mingw5flags.sh + +./win_make diff --git a/build/wintests b/build/wintests index c9b194f5a..d46b7ac67 100755 --- a/build/wintests +++ b/build/wintests @@ -1,4 +1,5 @@ #!/bin/bash +export CROSS="i686-w64-mingw32.shared" export CXXFLAGS="-Wall -g1 -O5 -ffast-math -std=gnu++1z -funswitch-loops -funsafe-loop-optimizations -pipe" ./win_tests diff --git a/build/wintests64 b/build/wintests64 new file mode 100755 index 000000000..06e4f5cff --- /dev/null +++ b/build/wintests64 @@ -0,0 +1,5 @@ +#!/bin/bash + +export CROSS="x86_64-w64-mingw32.shared" +export CXXFLAGS="-Wall -g1 -O5 -ffast-math -std=gnu++1z -funswitch-loops -funsafe-loop-optimizations -pipe" +./win_tests -- cgit v1.2.3-70-g09d2