2020-01-08 09:33:09 +00:00
|
|
|
@ECHO OFF
|
2020-01-08 08:35:38 +00:00
|
|
|
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
|
|
|
|
|
2022-04-25 15:04:29 +00:00
|
|
|
mkdir internal\c\c_compiler
|
|
|
|
|
|
|
|
set MINGW=mingw32.exe
|
|
|
|
IF "%PLATFORM%"=="x64" set MINGW=mingw64.exe
|
|
|
|
|
2022-04-26 22:11:10 +00:00
|
|
|
set url="https://www.qb64phoenix.com/qb64_files/%MINGW%"
|
2022-04-25 15:04:29 +00:00
|
|
|
|
2022-04-26 22:11:10 +00:00
|
|
|
echo Downloading %url%...
|
|
|
|
curl %url% -o %MINGW%
|
|
|
|
|
|
|
|
echo Extracting %MINGW% as C++ Compiler
|
|
|
|
@echo off
|
|
|
|
%MINGW% -y -o"./internal/c/c_compiler/"
|
2020-01-08 08:35:38 +00:00
|
|
|
|
2022-08-11 21:04:07 +00:00
|
|
|
echo Bootstrapping QB64-PE
|
|
|
|
internal\c\c_compiler\bin\mingw32-make.exe -j8 OS=win BUILD_QB64=y EXE=.\qb64pe_bootstrap.exe
|
2020-01-08 08:35:38 +00:00
|
|
|
IF ERRORLEVEL 1 exit /b 1
|
|
|
|
|