[DEBUG] windows compilation (32 bit only)

This commit is contained in:
Edouard DUPIN 2014-09-15 21:46:47 +02:00
parent b1cbee3b4b
commit e46e6add5e
2 changed files with 4 additions and 3 deletions

View File

@ -44,7 +44,7 @@ class Target:
self.global_flags_xx=['-std=c++11'] self.global_flags_xx=['-std=c++11']
self.global_flags_mm=['-std=c++11'] self.global_flags_mm=['-std=c++11']
else: 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_mm=[]
self.global_flags_m=[] self.global_flags_m=[]
self.global_flags_ar=['rcs'] self.global_flags_ar=['rcs']

View File

@ -17,9 +17,10 @@ class Target(lutinTarget.Target):
sys.path.append("c:\\MinGW\\bin" ) sys.path.append("c:\\MinGW\\bin" )
os.environ['PATH'] += ";c:\\MinGW\\bin\\" os.environ['PATH'] += ";c:\\MinGW\\bin\\"
else: else:
#cross = "i586-mingw32msvc-" #target 64 bits:
cross = "x86_64-w64-mingw32-" cross = "x86_64-w64-mingw32-"
#cross = "i686-w64-mingw32-" # target 32 bits:
cross = "i686-w64-mingw32-"
if typeCompilator!="gcc": if typeCompilator!="gcc":
debug.error("Android does not support '" + typeCompilator + "' compilator ... availlable : [gcc]") debug.error("Android does not support '" + typeCompilator + "' compilator ... availlable : [gcc]")