mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-01 12:40:36 +00:00
Fix setup_win.bat
This commit is contained in:
parent
6568de7895
commit
3ff987edb8
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue