免费c ++编译器为mac不使用xcode [英] free c++ compiler for mac not using xcode

查看:242
本文介绍了免费c ++编译器为mac不使用xcode的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有任何免费的c ++编译器的macs不需要xcode?

Are there any free c++ compilers for macs that do not need xcode?

推荐答案

如果你安装开发工具包括Xcode),你也得到GCC安装。您可以从命令行使用它。

If you install the Developer Tools (which include Xcode), you get GCC installed as well. You can use it from the command line.

gcc -o myprogram main.cpp

这篇关于免费c ++编译器为mac不使用xcode的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆