@@ -6,49 +6,18 @@ mkdir toolchain
6
6
7
7
cd toolchain
8
8
9
- rem ========================================================
10
- rem Download preconfigured gcc4 toolchain from GitHub.
11
- rem It contains:
12
- rem -----------------
13
- rem mingwBaseUrl = "https://jaist.dl.sourceforge.net/project/mingw/MinGW";
14
- rem bsdTarUrl = mingwBaseUrl + "/Extension/bsdtar/basic-bsdtar-2.8.3-1/basic-bsdtar-2.8.3-1-mingw32-bin.zip";
15
- rem gccRequirementUrls =
16
- rem mingwBaseUrl + "/Base/binutils/binutils-2.28/binutils-2.28-1-mingw32-bin.tar.xz",
17
- rem mingwBaseUrl + "/Base/mingwrt/mingwrt-3.20/mingwrt-3.20-2-mingw32-dev.tar.lzma",
18
- rem mingwBaseUrl + "/Base/mingwrt/mingwrt-3.20/mingwrt-3.20-2-mingw32-dll.tar.lzma",
19
- rem mingwBaseUrl + "/Base/w32api/w32api-3.17/w32api-3.17-2-mingw32-dev.tar.lzma",
20
- rem mingwBaseUrl + "/Base/mpc/mpc-1.0.1-2/mpc-1.0.1-2-mingw32-dll.tar.lzma",
21
- rem mingwBaseUrl + "/Base/mpfr/mpfr-3.1.2-2/mpfr-3.1.2-2-mingw32-dll.tar.lzma",
22
- rem mingwBaseUrl + "/Base/gmp/gmp-5.1.2/gmp-5.1.2-1-mingw32-dll.tar.lzma",
23
- rem mingwBaseUrl + "/Base/libiconv/libiconv-1.14-3/libiconv-1.14-3-mingw32-dll.tar.lzma",
24
- rem mingwBaseUrl + "/Base/pthreads-w32/pthreads-w32-2.9.1/pthreads-w32-2.9.1-1-mingw32-dev.tar.lzma",
25
- rem mingwBaseUrl + "/Base/pthreads-w32/pthreads-w32-2.9.1/pthreads-w32-2.9.1-1-mingw32-dll.tar.lzma",
26
- rem mingwBaseUrl + "/Base/zlib/zlib-1.2.8/zlib-1.2.8-1-mingw32-dll.tar.lzma",
27
- rem mingwBaseUrl + "/Base/gettext/gettext-0.18.3.1-1/gettext-0.18.3.1-1-mingw32-dll.tar.lzma",
28
- rem mingwBaseUrl + "/Base/gcc/Version4/gcc-4.8.1-4/gcc-core-4.8.1-4-mingw32-bin.tar.lzma",
29
- rem mingwBaseUrl + "/Base/gcc/Version4/gcc-4.8.1-4/gcc-core-4.8.1-4-mingw32-dev.tar.lzma",
30
- rem mingwBaseUrl + "/Base/gcc/Version4/gcc-4.8.1-4/gcc-core-4.8.1-4-mingw32-dll.tar.lzma",
31
- rem // Require C++
32
- rem //mingwBaseUrl + "/Base/gcc/Version4/gcc-4.8.1-4/gcc-c++-4.8.1-4-mingw32-bin.tar.lzma",
33
- rem //mingwBaseUrl + "/Base/gcc/Version4/gcc-4.8.1-4/gcc-c++-4.8.1-4-mingw32-dev.tar.lzma",
34
- rem //mingwBaseUrl + "/Base/gcc/Version4/gcc-4.8.1-4/gcc-c++-4.8.1-4-mingw32-dll.tar.lzma",
35
- rem mingwBaseUrl + "/Extension/make/make-3.82-mingw32/make-3.82-5-mingw32-bin.tar.lzma",
36
- rem mingwBaseUrl + "/Extension/gdb/gdb-7.6.1-1/gdb-7.6.1-1-mingw32-bin.tar.lzma",
37
- rem "https://cmake.org/files/v3.12/cmake-3.12.3-win32-x86.zip",
38
- rem "https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-win.zip"
39
-
40
- curl -L -O https://github.com/kekyo/IL2C/releases/download/IL2C-toolchain-gcc4-mingw32-2/IL2C-toolchain-gcc4-mingw32-2.exe
9
+ curl -L -O https://github.com/kekyo/IL2C/releases/download/IL2C-toolchain-gcc4-mingw32-3/IL2C-toolchain-gcc4-mingw32-3.exe
41
10
if errorlevel 1 (
42
11
exit /b %errorlevel%
43
12
)
44
13
45
14
rem It zipped by 7z sfx.
46
- IL2C-toolchain-gcc4-mingw32-2 .exe
15
+ IL2C-toolchain-gcc4-mingw32-3 .exe
47
16
if errorlevel 1 (
48
17
exit /b %errorlevel%
49
18
)
50
19
51
- del /q IL2C-toolchain-gcc4-mingw32-2 .exe
20
+ del /q IL2C-toolchain-gcc4-mingw32-3 .exe
52
21
if errorlevel 1 (
53
22
exit /b %errorlevel%
54
23
)
0 commit comments