This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Regarding Pandaboard

Hello all,

I am working in panda board. I have one source file in c. After compile the source file in pandaboard, a.out is generated.

Then I try to execute the a.out . But it seems to an issue like "no such file or directory".

NOTE: The source file is compiled in 32 bit linux(ubuntu) kernal and try to executed in 32 bit Pandaboard kernal

  • Hi Satish,

    1. When running an executable like a shell like bash the executable must be in your PATH environment variable for bash to locate and run the program.
      The ./ prefix is a shorthand way of specifying the full path to the executable, so that bash does not need to the consult the PATH variable (which usually does not contain the current directory) to run it. Make sure you are completing the full path to the file after pushing to the board.[

      [For a.out (short for "assembler output"), it is the default executable output for a compiler like gcc if no output filename is specified. You can specify output file name with the command gcc -o output-file program.c ]

    2. Also, make sure the partition on which the executable resides is not mounted with noexec.

    3. Check that you're logged as same user as file is owned by.



  • satish,

    Can you just explain, how exactly where you trying to run the executable?