[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.cdt] Re: Works in Eclipse but not in console on Linux
|
Paul Rice wrote:
> I just wrote my first HelloWorld app in Eclipse on linux and it runs great
> in Eclipse but not in my Linux console. Konqueror identifies it as an
> executable but tells me "bash: HelloWorld: command not found" when I try
> to run it. Am I missing a step here?
No, probably not. Please post your code and your command invocation.
I doubt that there is any relation to eclipse.
Note that the current path is per default not in PATH where the shell
searches for commands (for security reasons). So try
./HelloWorld with "./".
Is your binary executable (very likely), do you have permission to start
binaries in the filesystem (mount option noexec forbids it IIRC).
Could it be that your path is strange? Contains it spaces or 8-bit
characters?
Jens