gcc: Include binutils

Closes #3147
This commit is contained in:
Rashil Gandhi 2022-01-03 16:31:02 +05:30
parent 3d6a00b43b
commit 3c42d5c246
No known key found for this signature in database
GPG Key ID: 0AF22EDF6BE85BBD

View File

@ -1,6 +1,6 @@
{ {
"version": "11.2.0", "version": "11.2.0",
"description": "GNU Compiler Collection", "description": "GNU Compiler Collection and binutils",
"homepage": "https://www.gnu.org/software/gcc/", "homepage": "https://www.gnu.org/software/gcc/",
"license": "GPL-3.0-or-later", "license": "GPL-3.0-or-later",
"architecture": { "architecture": {
@ -11,24 +11,18 @@
}, },
"extract_dir": "components-18.0", "extract_dir": "components-18.0",
"pre_install": [ "pre_install": [
"Expand-7ZipArchive \"$dir\\binutils-*.7z\" \"$dir\"",
"Expand-7ZipArchive \"$dir\\mingw-w64+gcc.7z\" \"$dir\"", "Expand-7ZipArchive \"$dir\\mingw-w64+gcc.7z\" \"$dir\"",
"Get-ChildItem \"$dir\\*.7z\" | Remove-Item -Recurse -Force" "Get-ChildItem \"$dir\\*.7z\" | Remove-Item -Recurse -Force"
], ],
"bin": [ "env_add_path": "bin",
"bin\\cpp.exe", "env_set": {
"bin\\g++.exe", "C_INCLUDE_PATH": "$dir\\include",
"bin\\gcc-ar.exe", "CPLUS_INCLUDE_PATH": "$dir\\include"
"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": { "checkver": {
"url": "https://nuwen.net/mingw.html", "url": "https://nuwen.net/mingw.html",
"regex": "(?sm)>GCC (?<version>[\\d.]+)</a>.*?components-(?<components>[\\d.]+).7z" "regex": "(?sm)>GCC ([\\d.]+)</a>.*?components-(?<components>[\\d.]+).7z"
}, },
"autoupdate": { "autoupdate": {
"architecture": { "architecture": {