Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

how to run c program without xcode

i want to run my c program without using Xcode coz its a huge download,plz help me out I'm new to mac

Posted on Jul 13, 2014 5:37 AM

Reply
Question marked as Best reply

Posted on Jul 13, 2014 6:27 AM

Hi,

Refer : http://github.com/kennethreitz/osx-gcc-installer

There is further info. provided to download the command line tools from the Apple Developer Site after free registration.


Cheers

2 replies

Jul 13, 2014 6:52 AM in response to ajeyfrommadurai

The Xcode install is worth the time and space (in my opinion). To enable the command line tools you have to also install those:

http://stackoverflow.com/questions/9329243/xcode-4-4-and-later-install-command-l ine-tools


The nice thing about using Xcode is that you will have the debugger and also be able to build executables for other platforms (cross compile) since Xcode allows you to use an external build system.


Here is another option... there are websites that allow you to compile and run code on the server side (through a web interface):

http://ideone.com/jwTjgN

how to run c program without xcode

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.