Update GCC on OSX

前端 未结 9 1069
醉话见心
醉话见心 2020-11-28 19:08

So I am a new programmer and I just installed XCode on my Macbook to get the GCC. I think Xcode is the only way for getting GCC on OSX. Now when I run my Hello World applica

9条回答
  •  独厮守ぢ
    2020-11-28 20:00

    The following recipe using Homebrew worked for me to update to gcc/g++ 4.7:

    $ brew tap SynthiNet/synthinet
    $ brew install gcc47
    

    Found it on a post here.

提交回复
热议问题