How To Install GCC On macOS
Вставка
- Опубліковано 18 вер 2024
- A walk-through of how to install and configure the GNU Compiler Collection (GCC) for C++ development on MacOS using Homebrew package manager.
GNU Compiler Collection Website: gcc.gnu.org
Homebrew Website: brew.sh
only tutorial that worked for me thanks man
Thank you very much for this tutorial!
Thank you for posting this video. The best!
Hi. It worked up to me typing "brew install gcc," to which I got an error.
Hey did you solved the issue
@@rahuljay5999 Sounds like the homebrew installer didn't properly update the $PATH variable to include where homebrew got installed. You can add it yourself using one of the following commands:
If using Apple Silicon: echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> $HOME/.zshrc
If using Intel: echo 'eval $(/usr/local/bin/brew shellenv)' >> $HOME/.zshrc
Make sure to close and re-launch the terminal after running the command
yeah it says command not found
when I tried to use the ln -s g++-14 g++, it says the file doesn't exist.. but then when I view filed in directory it there... what's the fix?
worked
Hello, Can you please help me.
I cant download GCC after installing brew. When I write "brew install gcc" it has like error - "command not found: brew". What can I do, can you please help to me
Sounds like the homebrew installer didn't properly update the $PATH variable to include where homebrew got installed. You can add it yourself using one of the following commands:
If using Apple Silicon: echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> $HOME/.zshrc
If using Intel: echo 'eval $(/usr/local/bin/brew shellenv)' >> $HOME/.zshrc
Make sure to close and re-launch the terminal after running the command
Thank you so much, I will try that@@MattsLecturesandTutorials
great and easy tutorial, congrats and thank you!
@MattsLecturesandTutorials when i'm about to download gcc terminal says the command brew isn't found, how do i solve it ? i'm in MacOs sonoma
yep same problem. did u find a solution?
Hello there, for some reason the installation is stuck on make for some reason..
great tutorial! Can you also tell us how to configure the 'bits/stdc++.h' file please
thanks
👍