how do i build gcc on a mac?

前端 未结 4 2265
一生所求
一生所求 2021-02-19 13:09

I\'d like to build the latest version of gcc on a mac. I have the latest xcode but I\'m looking for some of the c++0x features that are in more recent versions (the lambda funct

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-19 13:59

    You should look at the Homebrew project.

    Homebrew allows you to do things like this:

    brew install gcc
    

    Mac homebrew installation instructions are available here.

提交回复
热议问题