• 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: Command Line Compilers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Command Line Compilers


  • Subject: Re: Command Line Compilers
  • From: Evan DiBiase <email@hidden>
  • Date: Sun, 10 Mar 2002 14:23:36 -0500

Conrad,

Your guess is correct. However, I'd suggest that simply typing

cc test.c
./a.out

is a better way of doing things than adding the current directory to your path, because the latter can create all sorts of nasty security issues that you probably don't want to be vulnerable to.

-Evan

On Sunday, March 10, 2002, at 02:15 PM, Conrad Taylor wrote:

Hi, I have installed both Mac OS X 10.1 developers
tools and the Mac OS X 10.1 update. However, when
I try to run a compiled program, I'm getting the
following error message:

cc test.c
a.out

a.out: command not found

I'm guessing that this has something to do with the
current directory not being in the path. If this is
the case, could someone tell what file I should update
to include the current directory. However, I would
like to pose the question to the group before start
modifying files. Well, I must go and thanks in
advance.

-Conrad
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Command Line Compilers (From: Conrad Taylor <email@hidden>)

  • Prev by Date: Command Line Compilers
  • Next by Date: initWithContentsOfURL returns null
  • Previous by thread: Command Line Compilers
  • Next by thread: Re: Aaron Hillegass Book
  • Index(es):
    • Date
    • Thread