Results 1 to 3 of 3
-
09-04-2008, 08:58 PM #1
- Member Since
- Sep 04, 2008
- Location
- The Far Side of the Moon
- Posts
- 4
- Specs:
- MacBook: 2.16 GHz, 1GB RAM, 120GB HD
Darwin: launching a self compiled program.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?C.W.Holeman III
http://www.cwholemaniii.com
-
09-04-2008, 09:02 PM #2
sounds like the directory it's in is not in the path. do ./programname
mike
This machine kills fascists
Got # ? phear the command line!
-
09-04-2008, 09:31 PM #3
- Member Since
- Sep 04, 2008
- Location
- The Far Side of the Moon
- Posts
- 4
- Specs:
- MacBook: 2.16 GHz, 1GB RAM, 120GB HD
C.W.Holeman III
http://www.cwholemaniii.com
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
cant execute compiled file with g++
By loux in forum Running Windows (or anything else) on your MacReplies: 9Last Post: 02-03-2012, 01:52 PM -
Would a program design to run on Mac OS run on Darwin?
By trinigirl in forum macOS - Development and DarwinReplies: 0Last Post: 03-17-2009, 06:26 PM -
New Program for Darwin: LoansMgr
By mac57 in forum macOS - Development and DarwinReplies: 0Last Post: 01-03-2007, 11:39 PM -
New Program for Darwin: walk
By mac57 in forum macOS - Development and DarwinReplies: 0Last Post: 01-03-2007, 04:39 PM -
Stop Program From Launching On Start Up
By youthpastor in forum macOS - Apps and GamesReplies: 3Last Post: 09-15-2006, 07:53 AM