mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-05 21:40:25 +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
|
del /q /s internal\temp\*.* >nul 2>nul
|
||||||
|
|
||||||
if exist internal\c\c_compiler\bin\c++.exe goto skipccompsetup
|
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
|
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 Extracting %MINGW% as C++ Compiler
|
||||||
@echo off
|
@echo off
|
||||||
%MINGW% -y
|
%MINGW% -y -o"..\c_compiler\"
|
||||||
|
|
||||||
cd ../../..
|
cd ../../..
|
||||||
:skipccompsetup
|
:skipccompsetup
|
||||||
|
|
Loading…
Reference in a new issue