Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 3 of 3
  1. #1
    Aleran is offline Registered User
    Join Date
    Dec 2002
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    a.out command not found???

    I have been programming on my schools linux server for a long time. At one point I had installed the dev tools on my mac. I remember everything in it working perfectly fine. Now however if I compile a C or C++ program in the termnal everything looks fine. These are very simple test progs. When I ls I see a.out as it should be. When i type "a.out" I get the message: "a.out command not found". Why can I no longer run my programs, it worked before but I have made about a million simple programs and everytime I get a.out command not found! Any hel will be appriciated.

  2. #2
    lurk's Avatar
    lurk is offline Mitä?
    Join Date
    Mar 2002
    Location
    Land o' skeeterz
    Posts
    2,087
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Type ./a.out ant it will work "." (the current working directory is not in your path. For security reasons it really should not be.

    -Eric
    Wenn ist das Nunstruck git und Slotermeyer? Ja!...
    Beiherhund das Oder die Flipperwaldt gersput!

  3. #3
    Aleran is offline Registered User
    Join Date
    Dec 2002
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I love you! That did it.

 

 

Similar Threads

  1. export command not found
    By Harvey in forum Mac OS X System & Mac Software
    Replies: 2
    Last Post: February 3rd, 2003, 07:46 AM
  2. a.out? What's that?
    By Trip in forum Software Programming & Web Scripting
    Replies: 5
    Last Post: June 11th, 2002, 12:07 PM
  3. Problems compiling ncurses
    By Fahrvergnuugen in forum Mac OS X System & Mac Software
    Replies: 3
    Last Post: April 15th, 2002, 12:47 AM
  4. Compiling errors (stdio.h not found)
    By bdr00 in forum Mac OS X System & Mac Software
    Replies: 5
    Last Post: April 12th, 2002, 04:43 PM
  5. Errors compiling pthread (for mysql) on Mac OS X Server
    By Someone Else in forum Mac OS X System & Mac Software
    Replies: 0
    Last Post: June 12th, 2001, 11:26 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •