• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Rookie question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rookie question


  • Subject: Re: Rookie question
  • From: James Berry <email@hidden>
  • Date: Sat, 4 Jun 2005 10:00:15 -0700


On Jun 4, 2005, at 9:51 AM, Marc Chanliau wrote:

I'm new to the Mac. I plan on doing some Java and C development on the Mac. I found my way around with Java, but I have a silly starting problem with C. Simply put, when I compile a C program, I generate its a.out executable, but bash doesn't want to execute it (error: -bash: a.out: command not found). Right now, I don't want to use Xcode (although things seem to be working well using it).

Since the current directory is not in your path, you have to specify an explicit path to the executable: ./a.out


-jdb

Thanks in advance,
Marc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Rookie question (From: Marc Chanliau <email@hidden>)

  • Prev by Date: Rookie question
  • Next by Date: Newbie to Darwin linking issue I think?
  • Previous by thread: Rookie question
  • Next by thread: Newbie to Darwin linking issue I think?
  • Index(es):
    • Date
    • Thread