Homebrew requires that you have either Xcode or the Xcode command line tools installed on your Mac. Instead of having to download, configure, and install something yourself, all you need to do is run one command, and Homebrew will take care of the rest for you. It's like Ubuntu's apt-get, where one can install packages easily from repositories. Homebrew "installs the stuff that you need that Apple don't". When you follow it, ignore anything about installing Ruby that is, stop after setting up git. If you want an additional guide on all of the following steps (except for installing GCC), the one by Moncef Belyamani is quite helpful. We'll be installing GCC 4.8.1 and GDB through a tool called Homebrew. This section is intended to get you quickly started with C++ programming on your Mac.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |