Simplest way to get latest gcc for any platform ?

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • spack

    A flexible package manager that supports multiple versions, configurations, platforms, and compilers.

  • git clone https://github.com/spack/spack.git ./spack/bin/spack install gcc

  • NakOS

  • Here’s the script. It’s specific to cross compilation work, but I imagine it’s not bad to tweak to suit your needs.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • setup-cpp

    Install all the tools required for building and testing C++/C projects.

  • I've used this on GitHub actions, but it can be used outside of actions https://github.com/aminya/setup-cpp

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts