- #1
CAF123
Gold Member
- 2,948
- 88
I'd like to install gcc version 9.3.0 on my Mac Os Big Sur. I was wondering if I can do this still using brew?
I already have the most up to date version of brew but I would like to possibly downgrade or have in addition gcc v9.3.0.
I followed the three commands below
brew tap-new $USER/local-gcc`
brew extract --version=9.3.0 gcc $USER/local-gcc`
brew install gcc@9.3.0`
but when I do
brew info gcc
it still says I have v10.2.0. Is there a way to switch between different versions? As far as I can tell brew switch is now broken.
If there is another way to get a working gcc v 9.3.0 that you can recommend I am happy to try it too. Thanks in advance.
I already have the most up to date version of brew but I would like to possibly downgrade or have in addition gcc v9.3.0.
I followed the three commands below
brew tap-new $USER/local-gcc`
brew extract --version=9.3.0 gcc $USER/local-gcc`
brew install gcc@9.3.0`
but when I do
brew info gcc
it still says I have v10.2.0. Is there a way to switch between different versions? As far as I can tell brew switch is now broken.
If there is another way to get a working gcc v 9.3.0 that you can recommend I am happy to try it too. Thanks in advance.