mandrake 8.2 ?'s " file not found"

By waitupiamfat
May 13, 2002
  1. real newbie question

    hey guys.

    i just installed mandrake 8.2 on mainly for some good c++ and c development (i just graduated from purdue with a bachelor of science in computer engineering). when i create a .cc file and compile it its fine, but the a.out that results keeps saying command not found. this is the first time i've really experimented with linux. i have winxp but i dont' really want to fool with visual c++. do i need to install something to get the a.out to run my programs? yes i'm a newb to linux. thanks.
  2. Mictlantecuhtli

    Mictlantecuhtli TS Evangelist Posts: 4,345   +11

    Do you mean that if you give parameters to a.out application, they're not processed correctly?
    Or are you just trying to launch a.out?
    If it's the latter, Unix commands that reside in the current directory are executed by ./ in the beginning, otherwise the system tries to find the command from paths specified in environment variable PATH.
  3. Mictlantecuhtli

    Mictlantecuhtli TS Evangelist Posts: 4,345   +11

    Another note, if you're compiling with cc/gcc, you could use parameter -o to specify the output file, like -o test. Saves you from renaming a.out :)
Topic Status:
Not open for further replies.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...