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

后端 未结 9 1194
囚心锁ツ
囚心锁ツ 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:46

    Install the GCC package from the Packages directory in Xcode's disk image and you'll have just GCC. Note that of course you won't have autotools or other standard build tools, for which you will have to install more packages from that folder.

提交回复
热议问题