On Big Sur, can't install a C++ compiler
Hi,
I have an old MacBook Pro that run macOS 11.7.10 and want to follow a C++ course from LinkedIn. Tried to install XCode but was told it is not supported on Big Sur. So I tried to install gcc following instructions from Install GCC on MacOS - YouTube This is not successful. Homebrew is installed, but when I run "brew install gcc", the process freezes here:
==> Applying gcc-xcode15-warnings.diff
patching file gcc/config/aarch64/darwin.h
patching file libgfortran/libgfortran.spec.in
==> ../configure --prefix=/usr/local/opt/gcc --libdir=/usr/local/opt/gcc/lib/gcc
==> make
Can some one help me solve this issue ? Or is there some way to install clang without install installing the fulll XCode ?
Many thanks
MacBook Pro 15″, macOS 11.7