-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Description
Today GCC 11.1 was released, the first stable release of GCC 11.
Currently GCC gets installed using the gcc.sh installer script, using the versions in the toolset-2004.json and toolset-1804.json files. It uses the ubuntu-toolchain-r/test repository, which doesn't have gcc-11 available.
At this moment, a stable GCC 11 version is not yet available on either Ubuntu packages (so not for focal-updates) or Debian packages (only on experimental), which is where the complication starts.
Options to install GCC-11:
- Building from source
- Building once and caching/hosting somewhere
- Using experimental toolchain
- Waiting for package managers to update
- More?
Lets use this issue to discuss how GCC 11 can be installed best on the Ubuntu images.
Tool information
- Tool name: GCC (GNU Compiler Collection)
- Tool license: Modified GNU General Public License version 3
- Add or update? Update
- Desired version: 11
- Approximate size: 199 MB installed
Area for Triage: C/C++
Question, Bug, or Feature?: Feature
Virtual environments affected
- Ubuntu 18.04
- Ubuntu 20.04
Can this tool be installed during the build?
YesTool installation time in runtime
Probably about the same other GCC versionsAre you willing to submit a PR?
Depends