​​ ​

The Apple Support Community will permanently close on November 20, 2026. Starting today, the site will no longer accept new posts and is available in a read-only state.


You can continue to find trusted guidance and support on the official Apple Support site. 


We want to thank the community members who have contributed their time and expertise to help others with their Apple products.


My C program won't build.

I put it in terminal, using gcc and then dropping the file in, and get no errors, but it doesn't create an executable file.

Xcode-OTHER

Posted on Jan 30, 2013 7:00 AM

8 replies

Jan 30, 2013 8:48 AM in response to bcooke314

The compiled code will be called a.out unless you specify a name on the compile line.


This was mentioned in the video you linked to and in your second post above. In my post I asked you to so an

ls a.out in the terminal.


If you're going to learn to program you will need to learn to follow directions.


good luck


regards


Message was edited by: Frank Caggiano -o filename

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

My C program won't build.

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