Install GCC/G++ on MacOS arm64 M1 Mac

preview_player
Показать описание


Homebrew is a very usable package manager for Mac. It allows you to install many useful tools via command-line.

In this video, I show how you can install GCC/G++ for C/C++ using homebrew.

#homebrew #m1 #mac #bigsur #c #cpp #coding #programming #arm64 #brew #setup #competitiveprogramming #dsa #algorithm #datastructure #algorithms #datastructures
Рекомендации по теме
Комментарии
Автор

Thanks for watching! Like and subscribe if you found it helpful. Any suggestions are welcome.

theHarshPat
Автор

Just perfect!
I tried to install g++ using many articles but no success and they were complex. This video is just so simple and to the point and works like charm. 😀

mibrahim
Автор

Just for those who are trying to do the same thing on Mac with Intel chips, the path for the default folder should be /usr/local/bin, it took me quite some digging to find it, figured this could help you save some trouble:P

ohheydarrendeng
Автор

what a helpful video, a very simple solution and very straight to the point, works on all arm chips

AyushKumar-memm
Автор

i cant express the relive i felt after watch this video my hole night was messed up cuz of setting hombrew gcc priority, BUT YOU MADE IT SO EASY MAN HUGE RESPECT

viveknehra
Автор

This was the only one that was able to get me to install gcc properly. Thanks man.

getrighto
Автор

bro I saw nearly 12 tutorials.. only you explained how to install gcc properly man.. hope you reach 10 million subs!!!!

arunachalamm
Автор

Thank You very much harsh patel bhai!!

Mera poore 2 days barbaad hue bhai iske chakar mai par aapke karan mera kaam hogaya

Oct 3, 2024

heyOrca
Автор

Thank you for this straightforward and very helpful video. This is precisely what I needed!

nc-broadcast
Автор

I don't understand the step at 0:48, what are the two commands how do you do this im so confused? help

mavihs
Автор

For macOS Ventura 13.4, even after following all the instructions mentioned in the above video, it directs to apple clang when I type gcc --version in the terminal. How to fix that?

anindyak
Автор

Thanks Harsh, I was stuck in this since a long time. Couldn't find any source. Greatful for this video.

prakhar-tripathi
Автор

Thanks for your video, i have been trying to make gcc compiler as default compiler rather than clang for last 1 whole year. After 1 year, today i am able to do that by the help of your video.

kartikgupta
Автор

How to add 0:48 command Plx show I’m confused

SDE_M.sameem
Автор

do not be fooled by the title, the process is same on non-arm processors
& thanks for the video :)

ELKADUSUNhalifesi
Автор

Hello I ran the two steps homebrew recommended. However when I run cat .zshrc it give me error "No such file or directory found". Please help if possible thanks!

dhruvshah
Автор

I have a problem after install gccit does not work on vs code please reply

fastfuturegaming
Автор

at 2:38 when I run those commands it's just showing "ln: gcc: File exists" can someone help me out

-nikhilkantimahanti
Автор

Hello sir you explained well I have watched many tutorials but this one was the perfect only

ayushjain
Автор

for linking homebrew versoin of gcc you can just use this command instead doing it manually: brew link gcc

NaserHassani