Remix.run Logo
kragen 8 hours ago

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.

pyth0 8 hours ago | parent | next [-]

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
kragen 8 hours ago | parent [-]

I see, thanks! That clarifies things a lot.

justincormack 8 hours ago | parent | prev | next [-]

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

tom_ 8 hours ago | parent | prev [-]

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.