Upgrade to later version of gcc.

master
Zed A. Shaw 2 weeks ago
parent 03f577100f
commit 166939dbfc
  1. 4
      base.ps1

@ -38,7 +38,7 @@ if(Test-Path -Path $winlibsPath) {
cat "$winlibsPath\mingw64\version_info.txt" cat "$winlibsPath\mingw64\version_info.txt"
Write-Warning "#=========================================================#" Write-Warning "#=========================================================#"
Write-Warning "Here's the version that Winget will install:" Write-Warning "Here's the version that Winget will install:"
winget search BrechtSanders.WinLibs.POSIX.UCRT.LLVM winget search BrechtSanders.WinLibs.POSIX.UCRT
Write-Warning "--- If you want me to replace your install with this version, then stop and" Write-Warning "--- If you want me to replace your install with this version, then stop and"
Write-Warning "delete the $winlibsPath directory before hitting ENTER to continue." Write-Warning "delete the $winlibsPath directory before hitting ENTER to continue."
Write-Warning "!!! If you do NOT want to replace this directory then hit CTRL-C now." Write-Warning "!!! If you do NOT want to replace this directory then hit CTRL-C now."
@ -49,7 +49,7 @@ Write-Warning "!! Installing WinLibs in $winlibsPath"
Write-Warning "This has to be installed this way because winget won't add it to the path so I have to do it manually. If you don't want this, then hit CTRL-C and install WinLibs yourself." Write-Warning "This has to be installed this way because winget won't add it to the path so I have to do it manually. If you don't want this, then hit CTRL-C and install WinLibs yourself."
Read-Host -Prompt "Press any key to continue, or CTRL-C to abort" | Out-Null Read-Host -Prompt "Press any key to continue, or CTRL-C to abort" | Out-Null
winget install --location "$winlibsPath" -e BrechtSanders.WinLibs.POSIX.UCRT.LLVM winget install --location "$winlibsPath" -e BrechtSanders.WinLibs.POSIX.UCRT
if($env:PATH.contains($winlibsPath)) { if($env:PATH.contains($winlibsPath)) {
Write-Warning "!! Detected $winLibsPath in your PATH. Will not update your PATH." Write-Warning "!! Detected $winLibsPath in your PATH. Will not update your PATH."

Loading…
Cancel
Save