Installing GCC 4.7.1 on OS X

后端 未结 1 561
情歌与酒
情歌与酒 2021-01-04 21:30

I am trying to install GCC 4.7.1 on my Mac because I want to update the LLVM GCC 4.2 given in XCode.

I have downloaded GCC 4.7

相关标签:
1条回答
  • 2021-01-04 22:03

    Install MacPorts and run:

    $ sudo port selfupdate
    $ sudo port install gcc47
    

    It will take care of correctly configuring and installing gcc (4.7.2 at the time of writing) and all dependencies.

    0 讨论(0)
提交回复
热议问题