![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
Other UNIX.COM Threads You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem in HP-UX compiling | vasanthan | HP-UX | 1 | 04-20-2008 04:34 AM |
| Problem compiling program | rochitsharma | High Level Programming | 28 | 07-23-2006 05:56 PM |
| Compiling problem | iandunn | SUN Solaris | 1 | 09-21-2005 04:41 AM |
| dos files in lynux | newbuddy | UNIX for Dummies Questions & Answers | 5 | 06-29-2005 04:36 AM |
| Problem compiling metamail | ahnishimi | High Level Programming | 2 | 01-31-2002 10:02 AM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Hi mates,
I am using Mandrake 7.1. I am trying to compile my file let is say Firstc.c file. It compiles it without any problem and creates the a.out file too. But when i am trying to execute the a.out file it brings the error: "bash: a.out: command not found!" ... i don't know what is the problem? regards abdul; |
| Forum Sponsor | ||
|
|
|
|||
|
your current directory is not in your path.
if you type echo $PATH you will notice it does not contain the location of a.out. now if you were to type ./a.out your command would execute. |
|||
| Google UNIX.COM |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|