gcc: Add version 11.2.0 (#3086)

* chore: Rename gcc to mingw

* gcc: Add version 11.2.0
This commit is contained in:
Rashil Gandhi 2021-12-14 12:30:57 +05:30 committed by GitHub
parent f1ca1776f8
commit 42e18b4575
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 68 additions and 29 deletions

View File

@ -1,41 +1,41 @@
{
"version": "8.1.0",
"description": "Minimalistic GNU for Windows is a runtime environment for GCC, GDB, make and related binutils.",
"homepage": "https://www.mingw-w64.org",
"license": "ZPL-2.1",
"version": "11.2.0",
"description": "GNU Compiler Collection",
"homepage": "https://www.gnu.org/software/gcc/",
"license": "GPL-3.0-or-later",
"architecture": {
"64bit": {
"url": "https://downloads.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/8.1.0/threads-posix/seh/x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z",
"hash": "853970527b5de4a55ec8ca4d3fd732c00ae1c69974cc930c82604396d43e79f8",
"extract_dir": "mingw64"
},
"32bit": {
"url": "https://downloads.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/8.1.0/threads-posix/dwarf/i686-8.1.0-release-posix-dwarf-rt_v6-rev0.7z",
"hash": "adb84b70094c0225dd30187ff995e311d19424b1eb8f60934c60e4903297f946",
"extract_dir": "mingw32"
"url": "https://nuwen.net/files/mingw/components-18.0.7z",
"hash": "50b7bddbceda793098f2fed3a249fb02911f4a46c5d9a2e6c77079fa7e40b2ad"
}
},
"post_install": "Copy-Item \"$dir\\bin\\mingw32-make.exe\" \"$dir\\bin\\make.exe\"",
"env_add_path": "bin",
"extract_dir": "components-18.0",
"pre_install": [
"Expand-7ZipArchive \"$dir\\mingw-w64+gcc.7z\" \"$dir\"",
"Get-ChildItem \"$dir\\*.7z\" | Remove-Item -Recurse -Force"
],
"bin": [
"bin\\cpp.exe",
"bin\\g++.exe",
"bin\\gcc-ar.exe",
"bin\\gcc-nm.exe",
"bin\\gcc-ranlib.exe",
"bin\\gcc.exe",
"bin\\gcov-dump.exe",
"bin\\gcov-tool.exe",
"bin\\gcov.exe",
"bin\\lto-dump.exe"
],
"checkver": {
"url": "https://sourceforge.net/projects/mingw-w64/files/",
"regex": "<h1>MinGW-W64 GCC-([\\d.]+)</h1>"
"url": "https://nuwen.net/mingw.html",
"regex": "(?sm)>GCC (?<version>[\\d.]+)</a>.*?components-(?<components>[\\d.]+).7z"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://downloads.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/$version/threads-posix/seh/x86_64-$version-release-posix-seh-rt_v6-rev0.7z"
},
"32bit": {
"url": "https://downloads.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/$version/threads-posix/dwarf/i686-$version-release-posix-dwarf-rt_v6-rev0.7z"
"url": "https://nuwen.net/files/mingw/components-$matchComponents.7z"
}
}
},
"notes": [
"- Along with GCC, this package also contains GDB, make and related binutils.",
" Hence it is not recommended to install these from other manifests/sources.",
"- You are installing the Mingw-w64 implementation of GCC.",
" This implementation has a better compatibility, but may not support newer C/C++ standards.",
" For more recent GCC versions, try 'mingw-winlibs' or 'mingw-nuwen'."
]
},
"extract_dir": "components-$matchComponents"
}
}

39
bucket/mingw.json Normal file
View File

@ -0,0 +1,39 @@
{
"version": "8.1.0",
"description": "Minimalistic GNU for Windows is a runtime environment for GCC, GDB, make and related binutils.",
"homepage": "https://www.mingw-w64.org",
"license": "ZPL-2.1",
"architecture": {
"64bit": {
"url": "https://downloads.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/8.1.0/threads-posix/seh/x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z",
"hash": "853970527b5de4a55ec8ca4d3fd732c00ae1c69974cc930c82604396d43e79f8",
"extract_dir": "mingw64"
},
"32bit": {
"url": "https://downloads.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/8.1.0/threads-posix/dwarf/i686-8.1.0-release-posix-dwarf-rt_v6-rev0.7z",
"hash": "adb84b70094c0225dd30187ff995e311d19424b1eb8f60934c60e4903297f946",
"extract_dir": "mingw32"
}
},
"post_install": "Copy-Item \"$dir\\bin\\mingw32-make.exe\" \"$dir\\bin\\make.exe\"",
"env_add_path": "bin",
"checkver": {
"url": "https://sourceforge.net/projects/mingw-w64/files/",
"regex": "<h1>MinGW-W64 GCC-([\\d.]+)</h1>"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://downloads.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/$version/threads-posix/seh/x86_64-$version-release-posix-seh-rt_v6-rev0.7z"
},
"32bit": {
"url": "https://downloads.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/$version/threads-posix/dwarf/i686-$version-release-posix-dwarf-rt_v6-rev0.7z"
}
}
},
"notes": [
"- You are installing the Mingw-w64 implementation of GCC.",
" This implementation has a better compatibility, but may not support newer C/C++ standards.",
" For more recent GCC versions, try 'mingw-winlibs' or 'mingw-nuwen'."
]
}