Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GCC on mac without Xcode [duplicate]

Tags:

macos

gcc

How can I use gcc on mac (without Xcode) for C programming? Which file shall I download? How do I install and run it?

like image 267
lukas morphey Avatar asked Dec 20 '22 09:12

lukas morphey


1 Answers

Go to Apple dev download site and get the Command Line Tools. It has gcc without XCode.

like image 90
CharlesB Avatar answered Jan 12 '23 20:01

CharlesB