I need to install node.js on my new Mac and it requires having c++ or g++ compiler installed.
How do I get one without paying for xcode?
How to install g++ or c++ without paying for xcode
xcode
Related Question
- MacOS – How to accept Xcode license
- MacOS – How to install Xcode 4.2.1 for OS X Lion 10.7.5
- iOS, Xcode, Development – Develop for iOS with Xcode 7 without Developer Account
- Xcode MacPorts – Is It Enough to Install Xcode?
- Accepting Xcode license without having whole Xcode
- MacOS – Trying to install Command Line Tools without Xcode
Best Answer
You can still download Xcode 3.x for free with a free developer account. Xcode 3 comes with the GCC 4.2, LLVM-GCC 1.5 and LLVM 1.5 so everything you need to compile C++, C and ObjC code.
(Remark: LLVM 1.5 can't compile C++ code, so you have to switch back to LLVM-GCC or GCC for this.)