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
Darwin: launching a self compiled program.
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="cwhiii" data-source="post: 720820" data-attributes="member: 66512"><p>I am just starting to learn C. I have created a "Hello, World." program, and used GCC in Darwin to compile it. It does compile correctly, and I can launch/run it by double clicking on the icon on the Desktop. </p><p></p><p>My question is, how do I run it from Darwin?</p><p></p><p>I've tried just typing in the name, but get the error: "No such file or directory"</p><p>Do I have to specify the path even when I'm in the correct directory?</p></blockquote><p></p>
[QUOTE="cwhiii, post: 720820, member: 66512"] I am just starting to learn C. I have created a "Hello, World." program, and used GCC in Darwin to compile it. It does compile correctly, and I can launch/run it by double clicking on the icon on the Desktop. My question is, how do I run it from Darwin? I've tried just typing in the name, but get the error: "No such file or directory" Do I have to specify the path even when I'm in the correct directory? [/QUOTE]
Verification
Name this item. 🍎
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Darwin: launching a self compiled program.
Top