Reputation: 31
I want to use gcc compiler instead apple clang on my mac(intel).
But this error is shown.. " Warning: No available formula with the name "gcc" "
I did, 1. installed homebrew 2. brew install gcc
But this error is shown.. " Warning: No available formula with the name "gcc" "
Upvotes: 1
Views: 594
Reputation: 31
Thank you everyone who gave feedback to this question.
Solution I have done:
brew doctor
, it recommended me to run three commands:2.rm -rf "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core"
brew tap homebrew/core
and git -C $(brew --repo homebrew/core) checkout master
Then I run brew install gcc
again.
Now it's working.
Upvotes: 1