From e46e6add5ecf90b8bbe0436628936d774b8b3f85 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Mon, 15 Sep 2014 21:46:47 +0200 Subject: [PATCH] [DEBUG] windows compilation (32 bit only) --- lutinTarget.py | 2 +- lutinTargetWindows.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lutinTarget.py b/lutinTarget.py index d48df4e..f60aba3 100644 --- a/lutinTarget.py +++ b/lutinTarget.py @@ -44,7 +44,7 @@ class Target: self.global_flags_xx=['-std=c++11'] self.global_flags_mm=['-std=c++11'] else: - self.global_flags_xx=['-static-libgcc', '-static-libstdc++', '-L', '-std=c++11'] + self.global_flags_xx=['-static-libgcc', '-static-libstdc++', '-std=c++11'] self.global_flags_mm=[] self.global_flags_m=[] self.global_flags_ar=['rcs'] diff --git a/lutinTargetWindows.py b/lutinTargetWindows.py index b829ea7..33d7ab5 100644 --- a/lutinTargetWindows.py +++ b/lutinTargetWindows.py @@ -17,9 +17,10 @@ class Target(lutinTarget.Target): sys.path.append("c:\\MinGW\\bin" ) os.environ['PATH'] += ";c:\\MinGW\\bin\\" else: - #cross = "i586-mingw32msvc-" + #target 64 bits: cross = "x86_64-w64-mingw32-" - #cross = "i686-w64-mingw32-" + # target 32 bits: + cross = "i686-w64-mingw32-" if typeCompilator!="gcc": debug.error("Android does not support '" + typeCompilator + "' compilator ... availlable : [gcc]")