Is there a way to install gcc in OSX without installing Xcode?

后端 未结 9 1234
囚心锁ツ
囚心锁ツ 2020-11-28 06:54

I\'ve googled the hell out of it, and it seems like there is no way to install gcc on OS X without installing Xcode (which takes at leats 1.5GB of space). All I need is gcc

9条回答
  •  心在旅途
    2020-11-28 07:39

    I've been doing this for a long time, and I've done things like this, and I've concluded it's simply never worth doing. :-(

    The reason is that no one expects you to do such things, so there are assumptions all over the system that "everything" is there. You might not run into this today - or worse, you might not even realize later that this is the cause of your issues.

    Instead of wasting your smart time on things like this which don't actually produce any working code you can use, following the approved method, run the download overnight, and spend your time instead on planning and writing the top-level code (you shouldn't need a compiler for that anyway!)

提交回复
热议问题