mirror of https://github.com/snesrev/smw.git
update to the latest versions of sdl2 and tcc for tcc builds (#1)
* Update run_with_tcc.bat * Update BUILDING.md
This commit is contained in:
parent
b27a9ccf6c
commit
a8274d91b8
|
|
@ -54,7 +54,7 @@ Download VS installer. On installer prompt, make sure you're on "Workloads" and
|
||||||
## Building with Tiny C Compiler
|
## Building with Tiny C Compiler
|
||||||
|
|
||||||
Dependencies and requirements:
|
Dependencies and requirements:
|
||||||
* You'll need [TCC](https://github.com/FitzRoyX/tinycc/releases/download/tcc_20221020/tcc_20221020.zip) and [SDL2](https://github.com/libsdl-org/SDL/releases/download/release-2.24.1/SDL2-devel-2.24.1-VC.zip) in order to compile using TCC.
|
* You'll need [TCC](https://github.com/FitzRoyX/tinycc/releases/download/tcc_20230519/tcc_20230519.zip) and [SDL2](https://github.com/libsdl-org/SDL/releases/download/release-2.26.5/SDL2-devel-2.26.5-VC.zip) in order to compile using TCC.
|
||||||
|
|
||||||
1. Unzip both TCC and SDL and place them in `third_party` folder.
|
1. Unzip both TCC and SDL and place them in `third_party` folder.
|
||||||
2. Double click `run_with_tcc.bat`
|
2. Double click `run_with_tcc.bat`
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
set SDL2=third_party\SDL2-2.24.1
|
set SDL2=third_party\SDL2-2.26.5
|
||||||
|
|
||||||
IF NOT EXIST "third_party\tcc\tcc.exe" (
|
IF NOT EXIST "third_party\tcc\tcc.exe" (
|
||||||
ECHO:
|
ECHO:
|
||||||
ECHO ERROR: src\third_party\tcc\tcc.exe doesn't exist. Please verify that you have put it in the right location.
|
ECHO ERROR: src\third_party\tcc\tcc.exe doesn't exist. Please verify that you have put it in the right location.
|
||||||
ECHO Download it from https://github.com/FitzRoyX/tinycc/releases/download/tcc_20221020/tcc_20221020.zip
|
ECHO Download it from https://github.com/FitzRoyX/tinycc/releases/download/tcc_20230519/tcc_20230519.zip
|
||||||
ECHO It needs to be the 64-bit version.
|
ECHO It needs to be the 64-bit version.
|
||||||
ECHO:
|
ECHO:
|
||||||
PAUSE
|
PAUSE
|
||||||
|
|
@ -17,7 +17,7 @@ IF NOT EXIST "third_party\tcc\tcc.exe" (
|
||||||
IF NOT EXIST "%SDL2%\lib\x64\SDL2.dll" (
|
IF NOT EXIST "%SDL2%\lib\x64\SDL2.dll" (
|
||||||
ECHO:
|
ECHO:
|
||||||
ECHO ERROR: SDL is not unzipped properly into %SDL2%
|
ECHO ERROR: SDL is not unzipped properly into %SDL2%
|
||||||
ECHO Download it from https://github.com/libsdl-org/SDL/releases/download/release-2.24.1/SDL2-devel-2.24.1-VC.zip
|
ECHO Download it from https://github.com/libsdl-org/SDL/releases/download/release-2.26.5/SDL2-devel-2.26.5-VC.zip
|
||||||
ECHO:
|
ECHO:
|
||||||
PAUSE
|
PAUSE
|
||||||
EXIT /B 1
|
EXIT /B 1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue