-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathgcc.json
35 lines (35 loc) · 1.2 KB
/
gcc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"version": "13.2.0",
"description": "GNU Compiler Collection and binutils",
"homepage": "https://www.gnu.org/software/gcc/",
"license": "GPL-3.0-or-later",
"architecture": {
"64bit": {
"url": "https://nuwen.net/files/mingw/components-19.0.7z",
"hash": "a684b84397ba1afe1d9fb3d06cfbf2b08d8259c99045c1c2c259b04dcb09d73e"
}
},
"extract_dir": "components-19.0",
"pre_install": [
"Expand-7ZipArchive \"$dir\\binutils-*.7z\" \"$dir\"",
"Expand-7ZipArchive \"$dir\\mingw-w64+gcc.7z\" \"$dir\"",
"Get-ChildItem \"$dir\\*.7z\" | Remove-Item -Recurse -Force"
],
"env_add_path": "bin",
"env_set": {
"C_INCLUDE_PATH": "$dir\\include",
"CPLUS_INCLUDE_PATH": "$dir\\include"
},
"checkver": {
"url": "https://nuwen.net/mingw.html",
"regex": "(?sm)>GCC ([\\d.]+)</a>.*?components-(?<components>[\\d.]+).7z"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://nuwen.net/files/mingw/components-$matchComponents.7z"
}
},
"extract_dir": "components-$matchComponents"
}
}