Skip to content

Commit

Permalink
idk
Browse files Browse the repository at this point in the history
  • Loading branch information
Egor00f committed Nov 7, 2024
1 parent c46fd14 commit bc2b361
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions install.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,20 @@ for /f %%a in ('echo prompt $E^| cmd') do set "ESC=%%a"

set TOOLCHAIN_DIR=C:\MinGW\msys\1.0\home\autobuild\tools



Call :print_msg Create the C:/MinGW/msys/1.0/home/autobuild folder...

mkdir %TOOLCHAIN_DIR%

Call :print_ok Successfully!


cd %TOOLCHAIN_DIR%


call :print_msg Download the kos32-gcc toolchain...

cd %TOOLCHAIN_DIR%

wget http://ftp.kolibrios.org/users/Serge/new/Toolchain/msys-kos32-5.4.0.7z -O %TOOLCHAIN_DIR%\kos32-toolchain.7z

7z x -y %TOOLCHAIN_DIR%\kos32-toolchain.7z
Expand All @@ -28,28 +30,27 @@ Call :print_msg Downloading libraries...

cd %TOOLCHAIN_DIR%\win32\mingw32


wget http://ftp.kolibrios.org/users/Serge/new/Toolchain/sdk-28-10-16.7z -q -O %TOOLCHAIN_DIR%\win32\mingw32\sdk-28-10-16.7z

7z x -y %TOOLCHAIN_DIR%\win32\mingw32\sdk-28-10-16.7z

Call :print_ok "Successfully!"
Call :print_ok Successfully!



Call :print_msg Updating libraries

cd lib
cd %TOOLCHAIN_DIR%\win32\mingw32\lib

wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libdll.a -q -O libdll.a
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libfreetype.a -q -O libfreetype.a
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libc.dll.a -q -O libc.dll.a
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libSDLn.a -q -O libSDLn.a
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libcurses.a -q -O libcurses.a
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libz.dll.a -q -O libz.dll.a
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libogg.a -q -O libogg.a
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libvorbis.a -q -O libvorbis.a
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libopenjpeg.a -q -O libopenjpeg.a
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libdll.a -q -O %TOOLCHAIN_DIR%\win32\mingw32\lib\libdll.a
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libfreetype.a -q -O %TOOLCHAIN_DIR%\win32\mingw32\lib\libfreetype.a
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libc.dll.a -q -O %TOOLCHAIN_DIR%\win32\mingw32\lib\libc.dll.a
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libSDLn.a -q -O %TOOLCHAIN_DIR%\win32\mingw32\lib\libSDLn.a
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libcurses.a -q -O %TOOLCHAIN_DIR%\win32\mingw32\lib\libcurses.a
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libz.dll.a -q -O %TOOLCHAIN_DIR%\win32\mingw32\lib\libz.dll.a
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libogg.a -q -O %TOOLCHAIN_DIR%\win32\mingw32\lib\libogg.a
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libvorbis.a -q -O %TOOLCHAIN_DIR%\win32\mingw32\lib\libvorbis.a
wget http://builds.kolibrios.org/en_US/data/contrib/sdk/lib/libopenjpeg.a -q -O %TOOLCHAIN_DIR%\win32\mingw32\lib\libopenjpeg.a

Call :print_ok Successfully!

Expand All @@ -66,7 +67,7 @@ Call :print_ok Installation was successful!


:print_msg
echo %ESC%[92m%* %ESC%[%m
echo %ESC%[92m%*%ESC%[%m
exit /b

:print_ok
Expand Down

0 comments on commit bc2b361

Please sign in to comment.