How do I install g++ on MacOS X?

前端 未结 5 1236
臣服心动
臣服心动 2020-12-09 16:15

I want to compile C++ code on MacOS X, using the g++ compiler. How do I install it?

5条回答
  •  醉话见心
    2020-12-09 16:25

    Download Xcode, which is free with an ADC online membership (also free):

    http://developer.apple.com/technology/xcode.html

提交回复
热议问题