Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Developing on a macbook
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Amen-Moses" data-source="post: 341661" data-attributes="member: 114"><p>a.out is the default name for the executable created by cc after it is compiled and linked.</p><p></p><p>If your source file is called test.c then try cc test.c</p><p></p><p>And it probably should be #include "stdio.h"</p><p></p><p>Oh and you left the d off of "world". <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p></p><p>Amen-Moses</p><p></p><p>(edited to add: Mind you, you really want to use XCode, if you have fully installed it the main XCode executable is in /Developer/Applications.</p><p></p><p>Google for XCode tutorials as well.)</p></blockquote><p></p>
[QUOTE="Amen-Moses, post: 341661, member: 114"] a.out is the default name for the executable created by cc after it is compiled and linked. If your source file is called test.c then try cc test.c And it probably should be #include "stdio.h" Oh and you left the d off of "world". ;) Amen-Moses (edited to add: Mind you, you really want to use XCode, if you have fully installed it the main XCode executable is in /Developer/Applications. Google for XCode tutorials as well.) [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Developing on a macbook
Top