mirror of
https://github.com/QB64Official/qb64.git
synced 2024-05-12 12:00:14 +00:00
Modified bootstrap so that it is now x64 only.
This commit is contained in:
parent
61c697e431
commit
55a031ba7d
|
@ -9,14 +9,15 @@ rem Create the c_compiler directory that should contain the mingw binaries
|
|||
mkdir internal\c\c_compiler
|
||||
|
||||
rem Check the processor type and then set the MINGW variable to correct mingw filename
|
||||
reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86" > NUL && set MINGW=mingw32 || set MINGW=mingw64
|
||||
rem reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86" > NUL && set MINGW=mingw32 ||
|
||||
|
||||
set MINGW=mingw64
|
||||
rem Set the correct file to download based on processor type
|
||||
if "%MINGW%"=="mingw64" (
|
||||
rem if "%MINGW%"=="mingw64" (
|
||||
set url="https://github.com/niXman/mingw-builds-binaries/releases/download/12.2.0-rt_v10-rev0/x86_64-12.2.0-release-win32-seh-rt_v10-rev0.7z"
|
||||
) else (
|
||||
set url="https://github.com/niXman/mingw-builds-binaries/releases/download/12.2.0-rt_v10-rev0/i686-12.2.0-release-win32-sjlj-rt_v10-rev0.7z"
|
||||
)
|
||||
rem ) else (
|
||||
rem set url="https://github.com/niXman/mingw-builds-binaries/releases/download/12.2.0-rt_v10-rev0/i686-12.2.0-release-win32-sjlj-rt_v10-rev0.7z"
|
||||
rem )
|
||||
|
||||
echo Downloading %url%...
|
||||
curl -L %url% -o temp.7z
|
||||
|
|
Loading…
Reference in a new issue