ami-iit / ami-commons

In this repository we store tools and utilities shared between our repositories.
11 stars 2 forks source link

Additional notes to "The C++20 Masterclass : From Fundamentals to Advanced" Udemy Course #9

Open traversaro opened 1 year ago

traversaro commented 1 year ago

Many members of the AMI lab will probably take the "The C++20 Masterclass : From Fundamentals to Advanced" Udemy Course (https://www.udemy.com/course/the-modern-cpp-20-masterclass).

However, some details of how we recommended to AMI members to setup their C++ environment may be different from what is suggested instead in the-modern-cpp-20-masterclass course. In this issue (that will be moved at some point somewhere else) we point out this differences.

Environment setup - Linux

Install GCC on Linux

In the AMI lab as of early 2023 we recommend all users to use Ubuntu 22.04 . In that distribution, the GCC, G++ and gdb version installed by sudo apt install build-essential is already GCC 11 that fully supports C++20, so there is no need to manually install a different GCC version.