Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I see, thanks! Is cc installed by default? I remember when my ex-wife had a Mac she had to sign up for Apple's developer program to get compilers installed.


You don't need to sign up for a developer program, or even download the full Xcode IDE. You do need to install the compiler tools with

  xcode-select --install


I see, thanks! That clarifies things a lot.


You dint have to join the dev program but you have to installl it.


No idea what you get out of the box, or what /usr/bin/cc actually is and does, but it looks like the underlying compiler is the clang that came with Xcode, which I installed from the app store. I do have an Apple account, but I don't think it's signed up to Apple's developer program... at least, probably not? I'm not paying them for this, anyway.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: