TechSpot

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,919   +9

    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,919   +9

    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.


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.