How do I install g++ on MacOS X?

前端 未结 5 1223
臣服心动
臣服心动 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:31

    Type g++(or make) on terminal.

    This will prompt for you to install the developer tools, if they are missing.

    Also the size will be very less when compared to xcode

提交回复
热议问题