diff --git a/setup_win.bat b/setup_win.bat index de4f85a87..b18fde3b4 100644 --- a/setup_win.bat +++ b/setup_win.bat @@ -10,11 +10,11 @@ del /q /s internal\c\parts\*.a >nul 2>nul del /q /s internal\temp\*.* >nul 2>nul if exist internal\c\c_compiler\bin\c++.exe goto skipccompsetup -cd internal\c\c_compiler +cd internal\c\mingw reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86" > NUL && set MINGW=mingw32.exe || set MINGW=mingw64.exe echo Extracting %MINGW% as C++ Compiler @echo off -%MINGW% -y +%MINGW% -y -o"..\c_compiler\" cd ../../.. :skipccompsetup