That's what my lecturer said: You dont need to build the compiler yourself… it comes with Xcode, so you should already have it installed. Otherwise make sure you have run "xcode-select --install” I just want to build and run C and C++ source code in terminal. -- View this message in context: http://gcc.1065356.n5.nabble.com/to-install-c-and-c-compiler-on-OS-X-Yosemite-10-10-3-tp1151452p1152144.html Sent from the gcc - Help mailing list archive at Nabble.com.