I am trying to install gcc on my M1 mac using homebrew using
brew install gcc
but it is showing some errors like this
[email protected] ~ % brew install gcc
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "gcc".
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
thanks for your help!
Source: Windows Questions C++